Skip to content

Commit

Permalink
fix: script
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Aug 28, 2024
1 parent 9603f2b commit c5ebb51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion npm-ci-publish-beta-and-alpha-only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)")

Expand Down
2 changes: 1 addition & 1 deletion npm-ci-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)")

Expand Down

0 comments on commit c5ebb51

Please sign in to comment.