Skip to content

pyproject.toml versions; release-tag github-release - #14

Merged
markope merged 2 commits into
mainfrom
pyproject-version
Oct 25, 2026
Merged

markope merged 2 commits into
mainfrom
pyproject-version

Conversation

@markope

@markope markope commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor
  1. release.sh and pr.sh read a pyproject.toml's [project] version (other tables' version keys ignored; awk, no tomllib). Tests in both suites, mutation-checked.
  2. release-tag.yml: input github-release creates the GitHub release with the App token, so callers need no contents: write (a caller granting it would make its PR dry run fail at startup). promote-branch and the GitHub release also run on a re-run that finds the tag set (both idempotent).

Marko Petzold added 2 commits October 25, 2026 07:48
release.sh and pr.sh read the version of a pyproject.toml from its [project] table (other tables' version keys do not count), without tomllib, so it also works with an old system Python. Python repositories use pyproject.toml as their version file.
github-release: true creates the GitHub release of the tag with the release App's token, so callers need no contents: write (a caller that grants it fails its pull-request dry run at startup). promote-branch and the GitHub release also run when a re-run finds the tag already set; both pass when their work is done.
@markope markope changed the title version files: pyproject.toml's [project] version pyproject.toml versions; release-tag github-release Oct 25, 2026
@markope
markope merged commit 069ff41 into main Oct 25, 2026
61 checks passed
@markope
markope deleted the pyproject-version branch October 25, 2026 06:52
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