Skip to content

Commit

Permalink
Allow empty commits for the release (#4927)
Browse files Browse the repository at this point in the history
The release process failed last night due to me filling out the dates in
the release notes early (rather than leaving "Unreleased") which mean
there were no changes for each commit. Switch to passing `--allow-empty`
when making a commit to prevent this.
  • Loading branch information
alexcrichton authored Sep 20, 2022
1 parent a434f43 commit 63c9e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
rustc ci/update-release-date.rs -o /tmp/update-release-date
/tmp/update-release-date $(date +'%Y-%m-%d')
git commit -a -F-<<EOF
git commit --allow-empty -a -F-<<EOF
Update release date of Wasmtime $cur
EOF
git push origin HEAD:ci/release-date-for-$cur
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
# released
git reset --hard origin/release-$cur
sed -i "s/^Unreleased/Released $(date +'%Y-%m-%d')/" RELEASES.md
git commit -a -F-<<EOF
git commit --allow-empty -a -F-<<EOF
Release Wasmtime $cur
[automatically-tag-and-release-this-commit]
Expand Down

0 comments on commit 63c9e5d

Please sign in to comment.