1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

Tools: trim

This commit is contained in:
Laurent Cozic
2020-11-26 12:15:02 +00:00
parent d8745597e9
commit 3d4437037e

View File

@@ -63,13 +63,13 @@ async function main() {
await execCommand('npm publish');
const changelog = await execCommand(`node ${rootDir}/packages/tools/git-changelog ${newTag}`);
const changelog = (await execCommand(`node ${rootDir}/packages/tools/git-changelog ${newTag}`)).trim();
const newChangelog = await insertChangelog(newTag, changelog);
await fs.writeFile(changelogPath, newChangelog);
const defaultEditor = await execCommand('echo $EDITOR');
const defaultEditor = (await execCommand('echo $EDITOR')).trim();
const finalCmds = [
'git pull',