1
0
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:
Laurent Cozic 2021-12-27 18:00:01 +01:00
parent 26883d31da
commit 7b90c586cd
5 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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}`;

View File

@ -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}`);

View File

@ -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}`);

View File

@ -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}`;