release: fix tag script
The tag script, when not run interactively, will fail without a provided commit message (since it now uses annotated tags). For now, use a trivial message. In the future, this could be extended to provide automated release notes. PiperOrigin-RevId: 281112651
This commit is contained in:
parent
5107e6b6bd
commit
9601943685
|
@ -64,5 +64,6 @@ fi
|
|||
|
||||
# Tag the given commit (annotated, to record the committer).
|
||||
declare -r tag="release-${release}"
|
||||
(git tag -a "${tag}" "${commit}" && git push origin tag "${tag}") || \
|
||||
(git tag -m "Release ${release}" -a "${tag}" "${commit}" && \
|
||||
git push origin tag "${tag}") || \
|
||||
(git tag -d "${tag}" && false)
|
||||
|
|
Loading…
Reference in New Issue