Merge pull request #18592 from jmhbnz/main

Ensure commits are signed in `scripts/release.sh`
This commit is contained in:
Benjamin Wang 2024-09-16 14:09:51 +01:00 committed by GitHub
commit 7f399ee50c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ main() {
# shellcheck disable=SC2038,SC2046
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