Skip to content

Commit

Permalink
chore: release next
Browse files Browse the repository at this point in the history
  • Loading branch information
prevwong committed Jan 4, 2021
1 parent 3213ead commit f39c660
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/next.yml
Expand Up @@ -74,4 +74,4 @@ jobs:
run: yarn lerna:prerelease

- name: Publish
run: yarn lerna:publish
run: yarn release
13 changes: 4 additions & 9 deletions scripts/release.sh
Expand Up @@ -16,14 +16,9 @@ fi

echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc

if [[ $(git describe --exact-match 2> /dev/null || :) =~ -beta ]];
then
echo "Publishing packages"
yarn run lerna publish from-git --yes # publish latest tagged commit
echo "Publishing packages"
yarn run lerna publish from-git --yes # publish latest tagged commit

if [[ ! $? -eq 0 ]];then
exit 1;
fi
else
echo "Did not publish packages"
if [[ ! $? -eq 0 ]];then
exit 1;
fi

0 comments on commit f39c660

Please sign in to comment.