Skip to content

Require release tags for publishing#14

Merged
cbusillo merged 1 commit intomainfrom
chore/harden-publish-workflow
Apr 26, 2026
Merged

Require release tags for publishing#14
cbusillo merged 1 commit intomainfrom
chore/harden-publish-workflow

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • require the manual Publish workflow to run from a v* tag
  • verify the package version in pyproject.toml matches the selected release tag
  • update release docs to say the publish workflow should be run from the release tag

Verification

  • git diff --check
  • ruby -e "require 'yaml'; YAML.load_file('.github/workflows/publish.yml')"\n- actionlint .github/workflows/publish.yml .github/workflows/ci.yml\n- uv run pytest\n- rm -rf dist && uv build\n- uv run twine check dist/*\n\n## Release Note\nAfter this merges, recreate the unpublished v0.3.0 tag/release at the merge commit before running TestPyPI/PyPI publishing.

@cbusillo cbusillo merged commit afb1675 into main Apr 26, 2026
6 checks passed
@cbusillo cbusillo deleted the chore/harden-publish-workflow branch April 26, 2026 18:57
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