Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Next time, the release script will push both the tags and the commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Bios-Marcel committed Oct 25, 2020
1 parent c8868f0 commit a69272e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion release.sh
Expand Up @@ -82,7 +82,6 @@ envsubst < cordless.json_template > cordless.json
#

git tag -s "$RELEASE_DATE"
git push --tags

#
# Copies the changelog for pasting into the github release. The changes will
Expand All @@ -91,6 +90,14 @@ git push --tags

RELEASE_BODY="$(git log --pretty=oneline --abbrev-commit "$(git describe --abbrev=0 "$(git describe --abbrev=0)"^)".."$(git describe --abbrev=0)")"

#
# Push both previously created commits and the tag.
# We push as late as possible, to avoid pushing with
# errors happening afterwards.
#

git push --follow-tags

#
# Temporarily disable that the script exists on subcommand failure.
#
Expand Down

0 comments on commit a69272e

Please sign in to comment.