mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Tools: Switched to npm version patch
since it is not available in yarn
This commit is contained in:
parent
26883d31da
commit
7b90c586cd
@ -4,7 +4,7 @@ set -e
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd "$SCRIPT_DIR"
|
||||
yarn run buildAssets
|
||||
yarn version patch
|
||||
npm version patch
|
||||
yarn publish
|
||||
|
||||
NEW_VERSION=$(cat package.json | jq -r .version)
|
||||
|
@ -10,7 +10,7 @@ async function main() {
|
||||
|
||||
await execCommand2('git pull');
|
||||
|
||||
const newVersion = (await execCommand2('yarn version patch')).trim();
|
||||
const newVersion = (await execCommand2('npm version patch')).trim();
|
||||
console.info(`Building ${newVersion}...`);
|
||||
const newTag = `cli-${newVersion}`;
|
||||
|
||||
|
@ -11,7 +11,7 @@ async function main() {
|
||||
|
||||
console.info(`Running from: ${process.cwd()}`);
|
||||
|
||||
const version = (await execCommand2('yarn version patch')).trim();
|
||||
const version = (await execCommand2('npm version patch')).trim();
|
||||
const tagName = version;
|
||||
|
||||
console.info(`New version number: ${version}`);
|
||||
|
@ -11,7 +11,7 @@ async function main() {
|
||||
|
||||
await gitPullTry();
|
||||
|
||||
const version = (await execCommand('yarn version patch')).trim();
|
||||
const version = (await execCommand('npm version patch')).trim();
|
||||
const tagName = `plugin-generator-${version}`;
|
||||
|
||||
console.info(`New version number: ${version}`);
|
||||
|
@ -12,7 +12,7 @@ async function main() {
|
||||
await gitPullTry();
|
||||
|
||||
process.chdir(serverDir);
|
||||
const version = (await execCommand2('yarn version patch')).trim();
|
||||
const version = (await execCommand2('npm version patch')).trim();
|
||||
const versionSuffix = ''; // isPreRelease ? '-beta' : '';
|
||||
const tagName = `server-${version}${versionSuffix}`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user