Skip to content

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

Closed
Chideraozigbo wants to merge 1 commit into
mainfrom
fix/publish-on-tag-only
Closed

Chideraozigbo wants to merge 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

Copy link
Copy Markdown
Contributor Author

Merged to main (merge commit 3a584e0). Closing stale PR state.

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