diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d6502d34ef..b1a60d85f5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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"