Skip to content

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

Merged
oleg68 merged 1 commit into
nbplugins:mainfrom
oleg68:bugfix/changelog-release
Apr 15, 2026
Merged

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

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.

…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
oleg68 merged commit 7dcbb40 into nbplugins:main Apr 15, 2026
3 checks passed
@oleg68
oleg68 deleted the bugfix/changelog-release branch April 15, 2026 05:28
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