Skip to content

Commit

Permalink
Auto push version bumps when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Jan 19, 2019
1 parent b49e97f commit e76faf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [ -n "$(GITHUB_URL)" ]; then
fi

if git is-dirty; then
git commit -m "Bump to $VERSION"
git commit -m "Bump to $VERSION" package.json
git tag "v$VERSION"
git push-current
git push --tags
Expand Down

0 comments on commit e76faf6

Please sign in to comment.