Skip to content

fix(release): handle prerelease tag builds - #3094

Merged
SDAChess merged 1 commit into
mainfrom
ci/fix-prerelease-release-tag
Sep 1, 2026
Merged

fix(release): handle prerelease tag builds#3094
SDAChess merged 1 commit into
mainfrom
ci/fix-prerelease-release-tag

Conversation

@SDAChess

@SDAChess SDAChess commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fix prerelease tag builds so tags such as v0.1.0-pre.1 run the existing Release Tag workflow and publish prerelease artifacts without creating a GitHub Release.

Related Issue

None. This is a localized fix for the prerelease release workflow.

Changes

  • Allow Release Tag to trigger for v*.*.*-pre.* tags.
  • Keep prerelease publication in the existing tagged-release workflow.
  • Normalize Python prerelease versions to PEP 440-compatible versions such as 0.1.0rc1.
  • Make Release Dev explicitly calculate a dev version, preventing concurrently created tags from changing its artifact versions.
  • Add coverage confirming dev builds ignore exact prerelease tags.

Testing

  • nix develop -c uv run pytest python/release_tooling_test.py -q
    • 6 tests passed.
  • nix run nixpkgs#actionlint -- .github/workflows/release-dev.yml .github/workflows/release-tag.yml
    • No workflow errors; only existing ShellCheck style/informational findings.
  • git diff --check

Checklist

  • The change is scoped to prerelease versioning and release workflow behavior.
  • Focused tests pass.
  • GitHub Actions workflows were validated with actionlint.
  • The commit includes a DCO sign-off.
  • Pre-commit was not run, as requested.

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

@SDAChess
SDAChess enabled auto-merge September 1, 2026 16:06
@SDAChess
SDAChess added this pull request to the merge queue Sep 1, 2026
Merged via the queue into main with commit a4f9c76 Sep 1, 2026
58 checks passed
@SDAChess
SDAChess deleted the ci/fix-prerelease-release-tag branch September 1, 2026 16:21
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.

2 participants