Skip to content

Commit

Permalink
chore(release): also call make generate to update files (#992)
Browse files Browse the repository at this point in the history
This allows us to also generate the README.md files automatically so
that they contain correct references

<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it

#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
#990
  • Loading branch information
jakobmoellerdev authored Oct 24, 2024
1 parent 71d79e4 commit ed93e9a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,10 @@ jobs:
git checkout ${GITHUB_REF#refs/heads/}
v="$(go run ./api/version/generate bump-version)"
echo "$v" > VERSION
git add VERSION
git commit -m "Update version file to $v"
# Trigger a bump of any potential files that depend on a new version
make generate
git add --all
git commit -m "Update version to $v"
git push origin ${GITHUB_REF#refs/heads/}
echo "Next branch version is $v"
Expand Down

0 comments on commit ed93e9a

Please sign in to comment.