From c5ebb518fae3a9c8881ca53a7c00720033f9961b Mon Sep 17 00:00:00 2001 From: IsaccoSordo Date: Wed, 28 Aug 2024 10:35:12 +0200 Subject: [PATCH] fix: script --- npm-ci-publish-beta-and-alpha-only.sh | 2 +- npm-ci-publish.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npm-ci-publish-beta-and-alpha-only.sh b/npm-ci-publish-beta-and-alpha-only.sh index 1bb3d5c50..fc5608dd3 100644 --- a/npm-ci-publish-beta-and-alpha-only.sh +++ b/npm-ci-publish-beta-and-alpha-only.sh @@ -2,7 +2,7 @@ echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > .npmrc git update-index --assume-unchanged npm-ci-publish.sh -git update-index --assume-unchanged npm-ci-publish-beta-only.sh +git update-index --assume-unchanged npm-ci-publish-beta-and-alpha-only.sh VERSION=$(node -pe 'const version = JSON.parse(process.argv[1]).version; version.includes("beta") || version.includes("alpha") ? version : ""' "$(cat lerna.json)") diff --git a/npm-ci-publish.sh b/npm-ci-publish.sh index 18b91c59e..39ca35c15 100755 --- a/npm-ci-publish.sh +++ b/npm-ci-publish.sh @@ -2,7 +2,7 @@ echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > .npmrc git update-index --assume-unchanged npm-ci-publish.sh -git update-index --assume-unchanged npm-ci-publish-beta-only.sh +git update-index --assume-unchanged npm-ci-publish-beta-and-alpha-only.sh VERSION=$(node -pe 'const version = JSON.parse(process.argv[1]).version; version.includes("beta") || version.includes("alpha") ? version : ""' "$(cat lerna.json)")