Skip to content

fix(tagmanager): commit modified files before creating tag#214

Merged
indaco merged 6 commits intomainfrom
fix/tag-manager-commit-before-tag
Feb 26, 2026
Merged

fix(tagmanager): commit modified files before creating tag#214
indaco merged 6 commits intomainfrom
fix/tag-manager-commit-before-tag

Conversation

@indaco
Copy link
Copy Markdown
Owner

@indaco indaco commented Feb 26, 2026

Description

Fix tag-manager auto-create to commit all bump-modified files before creating the git tag, ensuring the tag points to the correct release commit.

Previously, when auto-create: true was set, the tag was created immediately after the version bump without committing the modified files first. This meant the tag pointed to the commit before the release changes (.version file, changelog, dependency files, etc.).

Now the flow is: bump -> post-bump actions -> commit all modified files -> create tag on the release commit.

Also adds a new optional commit-message-template config (default: "chore(release): {tag}") to customize the commit message.

Related Issue

Fixes #213

Notes for Reviewers

  • auto-create: true now inherently includes the commit step — no separate opt-in needed
  • The GitCommitOperations interface follows the same DI pattern as the existing GitTagOperations

@indaco indaco merged commit e101647 into main Feb 26, 2026
7 checks passed
@indaco indaco deleted the fix/tag-manager-commit-before-tag branch February 26, 2026 21:14
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.

tag manager - auto-create tags point to wrong commit - missing commit step before tag creation

1 participant