Skip to content

Commit

Permalink
chore: fix v1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
thomvaill committed Sep 22, 2022
1 parent 9ad6947 commit 40f769e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
1 change: 1 addition & 0 deletions packages/global-cli/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
15 changes: 2 additions & 13 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ then
exit 1
fi
source "${SELF_PATH}/release-credentials.local.sh"
npm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" # writes to ~/.npmrc

cd "${ROOT_PATH}"

Expand All @@ -26,20 +27,8 @@ git pull
echo "Please check that the last build pipeline was successful: https://github.com/thomvaill/log4brains/actions/workflows/build.yml"
read -rp "Press any key to continue or Ctrl+C to abort..."

yarn lerna version \
yarn lerna publish \
--conventional-commits \
--force-publish \
--exact \
--no-push

echo "You can now inspect the current release commit before continuing (to abort: git reset --hard origin/master && git tag -d <VERSION>)"
read -rp "Press any key to push & publish or Ctrl+C to abort..."

git push

yarn lerna publish from-git \
--conventional-commits \
--force-publish \
--exact \
--create-release github

Expand Down

0 comments on commit 40f769e

Please sign in to comment.