diff --git a/packages/app-cli/package-lock.json b/packages/app-cli/package-lock.json index f603a6331..0c4574801 100644 --- a/packages/app-cli/package-lock.json +++ b/packages/app-cli/package-lock.json @@ -1,12 +1,12 @@ { "name": "joplin", - "version": "2.3.0", + "version": "2.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "joplin", - "version": "2.3.0", + "version": "2.3.1", "license": "MIT", "dependencies": { "aws-sdk": "^2.588.0", diff --git a/packages/app-cli/package.json b/packages/app-cli/package.json index d96b410d5..72d38aa5b 100644 --- a/packages/app-cli/package.json +++ b/packages/app-cli/package.json @@ -32,7 +32,7 @@ ], "owner": "Laurent Cozic" }, - "version": "2.3.0", + "version": "2.3.1", "bin": { "joplin": "./main.js" }, diff --git a/packages/tools/release-cli.ts b/packages/tools/release-cli.ts index b2809f663..6b3cd450e 100644 --- a/packages/tools/release-cli.ts +++ b/packages/tools/release-cli.ts @@ -8,11 +8,12 @@ const changelogPath = `${rootDir}/readme/changelog_cli.md`; async function main() { process.chdir(appDir); + await execCommand2('git pull'); + const newVersion = (await execCommand2('npm version patch')).trim(); console.info(`Building ${newVersion}...`); const newTag = `cli-${newVersion}`; - await execCommand2('git pull'); await execCommand2('touch app/main.js'); await execCommand2('npm run build'); await execCommand2('cp ../../README.md build/');