Skip to content

fix: publish on tag push only, remove auto-bump - #9

Merged
Chideraozigbo merged 1 commit into
mainfrom
fix/publish-on-tag-only
Aug 27, 2026
Merged

Chideraozigbo merged 1 commit into
mainfrom
fix/publish-on-tag-only

Conversation

@Chideraozigbo

Copy link
Copy Markdown
Contributor

Summary

  • Trigger Publish workflow only on v* tag push or workflow_dispatch with an existing tag
  • Read version from package files on the tagged commit; fail if tag and package version mismatch
  • Remove auto-bump patch version, local release commits, and tag creation from CI

Test plan

  • Merge this PR
  • gh workflow run publish.yml -f tag=v1.0.0 publishes 1.0.0 to registry

Made with Cursor

Stop auto-bumping from git describe on main pushes. Publish only when
a v* tag is pushed or via workflow_dispatch with an existing tag.
Read version from package files and fail if it does not match the tag.
@Chideraozigbo
Chideraozigbo merged commit 6a52a53 into main Aug 27, 2026
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