Skip to content

Fix increment-version action to fail when no replacements or commit made - #519

Merged
siom79 merged 1 commit into
masterfrom
claude/increment-version-action-fail-qieCQ
May 21, 2026
Merged

Fix increment-version action to fail when no replacements or commit made#519
siom79 merged 1 commit into
masterfrom
claude/increment-version-action-fail-qieCQ

Conversation

@siom79

@siom79 siom79 commented May 21, 2026

Copy link
Copy Markdown
Owner
  • Only write files and report "Replaced" when content actually changes
  • Exit with code 1 if no .md file contained the old version string
  • Propagate git commit exit code via sys.exit() so the action fails visibly

https://claude.ai/code/session_013GLZRS9yLbywXPda65fhEa

- Only write files and report "Replaced" when content actually changes
- Exit with code 1 if no .md file contained the old version string
- Propagate git commit exit code via sys.exit() so the action fails visibly

https://claude.ai/code/session_013GLZRS9yLbywXPda65fhEa
@siom79
siom79 merged commit ea582f8 into master May 21, 2026
10 checks passed
@siom79
siom79 deleted the claude/increment-version-action-fail-qieCQ branch May 21, 2026 18:53
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.

2 participants