Merge pull request #690 from dominicbarnes/release-push-tags-first

feat(git-release): push tags first to help ci tools not miss them
This commit is contained in:
罗泽轩 2018-01-25 10:32:50 +08:00 committed by GitHub
commit db2d0456ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,8 +91,8 @@ if test $# -gt 0; then
git commit -a -m "$msg"
# shellcheck disable=SC2086
git tag $version -a -m "$msg" \
&& git push $remote \
&& git push $remote --tags \
&& git push $remote \
&& hook post-release $hook_args \
&& echo "... complete"
else