Merge pull request #18599 from k8s-infra-cherrypick-robot/cherry-pick-18592-to-release-3.5

[3.5] Ensure commits are signed in `scripts/release.sh`
This commit is contained in:
James Blair 2024-09-17 20:27:49 +10:00 committed by GitHub
commit 594427d28c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ main() {
# shellcheck disable=SC2038,SC2046,SC2185
run git add $(find -name go.mod ! -path './release/*'| xargs)
run git diff --staged | cat
run git commit -m "version: bump up to ${VERSION}"
run git commit --signoff --message "version: bump up to ${VERSION}"
run git diff --staged | cat
fi