Skip to content

Skip the release commit when nothing needs committing - #56

Open
bircni wants to merge 1 commit into
silverwind:masterfrom
bircni:skip-empty-release-commit
Open

Skip the release commit when nothing needs committing#56
bircni wants to merge 1 commit into
silverwind:masterfrom
bircni:skip-empty-release-commit

Conversation

@bircni

@bircni bircni commented Sep 10, 2026

Copy link
Copy Markdown

Closes #52.

If no files need to change, skip the release commit and tag HEAD instead of creating an empty --allow-empty commit. Tag, push, and --release still run. A changelog that still needs dating is committed as before, and --all still commits tracked changes. Named files that would not change still error, so a wrong base version cannot slip through.

The README now describes versions as language-agnostic release automation, with Node, Python, tag-only, and --release examples.

Empty commits were noise for tag-only releases. Keep tagging and pushing,
and document versions as language-agnostic release automation.
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.

Option to skip release commit

1 participant