Skip to content

Fixed release tag landing on wrong commit and wrong version number - #47

Merged
oleg68 merged 1 commit into
nbplugins:release/0.20from
oleg68:bugfix/0.20/release-changelog
Apr 14, 2026
Merged

oleg68 merged 1 commit into
nbplugins:release/0.20from
oleg68:bugfix/0.20/release-changelog

Conversation

@oleg68

@oleg68 oleg68 commented Apr 14, 2026

Copy link
Copy Markdown
Collaborator

Previously the tag was created before the CHANGELOG auto-edit commit, so:

  1. "git tag --points-at HEAD" in Calculate version found nothing (HEAD had advanced to the CHANGELOG commit), causing RELEASE=OFF and the release to be skipped entirely.
  2. The tag name did not match the commit count from the previous tag, since the CHANGELOG commit adds one more commit on top of HEAD.

Fix: commit CHANGELOG first, then tag HEAD (+1 to account for the new commit), then push both. FULL_VER is now recomputed with +1 inside the release branch so the patch number stays consistent.

Previously the tag was created before the CHANGELOG auto-edit commit, so:
1. "git tag --points-at HEAD" in Calculate version found nothing (HEAD had
   advanced to the CHANGELOG commit), causing RELEASE=OFF and the release
   to be skipped entirely.
2. The tag name did not match the commit count from the previous tag, since
   the CHANGELOG commit adds one more commit on top of HEAD.

Fix: commit CHANGELOG first, then tag HEAD (+1 to account for the new
commit), then push both. FULL_VER is now recomputed with +1 inside the
release branch so the patch number stays consistent.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@oleg68
oleg68 merged commit 180047c into nbplugins:release/0.20 Apr 14, 2026
4 checks passed
@oleg68
oleg68 deleted the bugfix/0.20/release-changelog branch April 14, 2026 19:24
oleg68 added a commit to oleg68/NetbeansPluginClaudeCodeGui that referenced this pull request Apr 14, 2026
…bplugins#47)

Previously the tag was created before the CHANGELOG auto-edit commit,
so:
1. "git tag --points-at HEAD" in Calculate version found nothing (HEAD
had advanced to the CHANGELOG commit), causing RELEASE=OFF and the
release to be skipped entirely.
2. The tag name did not match the commit count from the previous tag,
since the CHANGELOG commit adds one more commit on top of HEAD.

Fix: commit CHANGELOG first, then tag HEAD (+1 to account for the new
commit), then push both. FULL_VER is now recomputed with +1 inside the
release branch so the patch number stays consistent.

Co-authored-by: Oleg Samarin <osamarin@openintegration.inc>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
oleg68 added a commit that referenced this pull request Apr 15, 2026
…) (#49)

Previously the tag was created before the CHANGELOG auto-edit commit,
so:
1. "git tag --points-at HEAD" in Calculate version found nothing (HEAD
had advanced to the CHANGELOG commit), causing RELEASE=OFF and the
release to be skipped entirely.
2. The tag name did not match the commit count from the previous tag,
since the CHANGELOG commit adds one more commit on top of HEAD.

Fix: commit CHANGELOG first, then tag HEAD (+1 to account for the new
commit), then push both. FULL_VER is now recomputed with +1 inside the
release branch so the patch number stays consistent.

Co-authored-by: Oleg Samarin <osamarin@openintegration.inc>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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