mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Tools: Fixed CLI release
This commit is contained in:
parent
bee6001462
commit
8c93a89c0a
4
packages/app-cli/package-lock.json
generated
4
packages/app-cli/package-lock.json
generated
@ -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",
|
||||
|
@ -32,7 +32,7 @@
|
||||
],
|
||||
"owner": "Laurent Cozic"
|
||||
},
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.1",
|
||||
"bin": {
|
||||
"joplin": "./main.js"
|
||||
},
|
||||
|
@ -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/');
|
||||
|
Loading…
Reference in New Issue
Block a user