Skip to content

chore: prerelease support in publish workflow and release docs - #19

Merged
Abas-Tim merged 1 commit into
mainfrom
chore/release-workflow
Aug 28, 2026
Merged

Abas-Tim merged 1 commit into
mainfrom
chore/release-workflow

Conversation

@Abas-Tim

Copy link
Copy Markdown
Owner

Adds pre-release support to the publish workflow plus release documentation.

  • publish.yml: a version/tag consistency check (tag, [project] version, and __init__.__version__ must agree), pre-release detection so vX.Y.ZaN/rcN/devN tags publish to PyPI and mark the GitHub release as a pre-release, and a workflow_dispatch ref input for manual re-runs.
  • scripts/check_version.py: the consistency check, runnable locally.
  • docs/releasing.md: stable and pre-release flows, including install commands (pip install urag-cli vs pip install --pre urag-cli / ==0.2.0a1).

Pre-releases upload to PyPI normally but installers exclude them by default (PEP 440 handling of pre-releases), so the latest stable remains the default install target.

Verification

  • check_version.py passes for matching tags and fails with a clear message for mismatched ones.
  • 158 tests / 1 skipped; ruff clean (scripts included).

- publish.yml: version/tag consistency check, prerelease detection (a/b/rc/dev tags flag GitHub prerelease), workflow_dispatch ref input
- scripts/check_version.py verifies pyproject version == __init__ __version__ == tag
- docs/releasing.md documents stable and pre-release flows
@Abas-Tim
Abas-Tim merged commit f318011 into main Aug 28, 2026
4 checks passed
@Abas-Tim
Abas-Tim deleted the chore/release-workflow branch August 28, 2026 18:56
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