ci: beta release pipeline + stable promotion without rebuild - #87
Merged
Conversation
…without rebuild - new beta-release.yml builds on v*-beta.* tags and publishes a prerelease - release.yml no longer rebuilds: it downloads the latest beta's tested artifacts and republishes them as the stable release - fix mypy step using 'head' under pwsh on windows-latest (was silently no-op due to || true) - add concurrency groups and fail-fast: false to the build matrices
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
beta-release.yml: builds onv*-beta.*tags (pushed from develop) and publishes a GitHub prerelease.release.ymlno longer rebuilds on stable tags: it downloads the latest beta's already-tested artifacts and republishes them as the stable release (faster, guarantees stable == tested beta).mypystep usingheadunder pwsh onwindows-latest(silently a no-op due to|| true).concurrencygroups andfail-fast: falseto build matrices.Test plan
vX.Y.Z-beta.Ntag from develop and confirmbeta-release.ymlbuilds all 3 OS and publishes a prereleasevX.Y.Ztag from main and confirmrelease.ymlfinds the latest beta, downloads its assets, and republishes as stable without rebuildingworkflow_dispatchwith explicitbeta_taginput also works