You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-06 09:19:22 +02:00
Tools: trim
This commit is contained in:
@@ -63,13 +63,13 @@ async function main() {
|
|||||||
|
|
||||||
await execCommand('npm publish');
|
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);
|
const newChangelog = await insertChangelog(newTag, changelog);
|
||||||
|
|
||||||
await fs.writeFile(changelogPath, newChangelog);
|
await fs.writeFile(changelogPath, newChangelog);
|
||||||
|
|
||||||
const defaultEditor = await execCommand('echo $EDITOR');
|
const defaultEditor = (await execCommand('echo $EDITOR')).trim();
|
||||||
|
|
||||||
const finalCmds = [
|
const finalCmds = [
|
||||||
'git pull',
|
'git pull',
|
||||||
|
|||||||
Reference in New Issue
Block a user