Skip to content

Commit

Permalink
Merge pull request #1163 from xwp/bugfix/release-tagging
Browse files Browse the repository at this point in the history
Automatically tag releases in the distribution repository
  • Loading branch information
dero authored Oct 14, 2020
2 parents 88b7840 + 1e80e92 commit ae3d3c0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions local/scripts/dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ git commit --allow-empty --message "$COMMIT_MESSAGE"
if [ -n "$DIST_TAG" ]; then
echo "Tagging a release: $DIST_TAG"
git tag --force "$DIST_TAG"
git push --force --set-upstream origin --tags
else
# Syncing release artifacts for a branch.
git push --force --set-upstream origin "$DIST_BRANCH"
fi

git push --force --set-upstream origin "$DIST_BRANCH" --tags

0 comments on commit ae3d3c0

Please sign in to comment.