Skip to content

Commit

Permalink
ci: fix publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Dec 15, 2020
1 parent 98615a8 commit e903e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ jobs:
then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --access public
else if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm publish --tag next --access public
Expand Down

0 comments on commit e903e1e

Please sign in to comment.