Skip to content

Fix release commit step in template - #31

Merged
ahcodedev merged 1 commit into
mainfrom
fix/release-workflow
Nov 19, 2026
Merged

ahcodedev merged 1 commit into
mainfrom
fix/release-workflow

Conversation

@ahcodedev

Copy link
Copy Markdown
Owner

Summary

  • Generated projects' Release workflow failed with nothing to commit when pyproject.toml already had the release version (seen in fastmcp-template). Skip the commit in that case
  • Authenticate the release push with the job token, since checkout uses persist-credentials: false and git push origin main had no credentials

Same fix as ahcodedev/fastmcp-template#10.

Checklist

  • Tests added or updated for the change
  • README.md updated if needed
  • Release label added

Skip the version commit when pyproject.toml already has the release version, and authenticate the push since checkout doesn't persist credentials.
@ahcodedev ahcodedev added the fix Fix (patch version bump) label Nov 19, 2026
@ahcodedev
ahcodedev merged commit dddb54c into main Nov 19, 2026
11 checks passed
@ahcodedev
ahcodedev deleted the fix/release-workflow branch November 19, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Fix (patch version bump)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant