Skip to content

fix(release): annotate tag so signed-tag config doesn't break make release#41

Merged
pigri merged 1 commit into
mainfrom
fix/release-annotate-tag
Jun 18, 2026
Merged

fix(release): annotate tag so signed-tag config doesn't break make release#41
pigri merged 1 commit into
mainfrom
fix/release-annotate-tag

Conversation

@pigri

@pigri pigri commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Problem

make release VERSION=x.y.z fails at the tag step when tag.gpgsign is enabled:

fatal: no tag message?

Signed-tag config forces an annotated tag, but the recipe ran a lightweight git tag vX.Y.Z with no message. The empty release commit is created first, so the failure leaves a dangling local release commit and no tag.

Fix

  • Always create an annotated tag with -m.
  • Optional MESSAGE="..." appends a release note to the tag subject, matching the existing operator vX.Y.Z: <summary> tag convention.
make release VERSION=0.1.7                          # tag: "operator v0.1.7"
make release VERSION=0.1.7 MESSAGE="bump k8s deps"  # tag: "operator v0.1.7: bump k8s deps"

Verified with make -n; no behavior change when tag signing is off.

git tag.gpgsign forces signed/annotated tags and rejects a lightweight
'git tag vX.Y.Z' with 'no tag message?'. Always pass -m; optional
MESSAGE="..." appends a release note to the tag subject.
@pigri pigri merged commit 6ca4dad into main Jun 18, 2026
6 checks passed
@pigri pigri deleted the fix/release-annotate-tag branch June 18, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant