Open jenstroeger opened 1 year ago
After some tinkering with cz
I think this feature needs to wait:
For reference, there’s also an interesting Discussion: pre-release versioning and PEP440 cross-compatibility.
And just out: v1.6.0 of the SLSA Generator added support for pre-releases as well 👍🏼
I think this would make sense if apart from the main
and staging
branches, there are additional ones for pre-releases.
Commitizen v3.14.0 add support for pre-release bumps.
Currently
The release workflows support only final releases of a package, and no pre-releases. The branches support these release workflows by PR →
staging
branch →main
branch, where a push to themain
branch triggers building and publishing a final package release.Proposal
We want to add support for building and publishing pre-releases of the package. To achieve that we can add the following workflows to the
staging
branch that trigger onpush
event:fix:
orfeat:
or breaking change) then--prerelease
option, e.g. usingrc
for release candidates, and push the new tag; thenWe can probably refactor the current
release.yaml
into two workflows:release-rc.yaml
that triggers on push to thestaging
branch and produces a pre-release; andrelease.yaml
that (much like its current incarnation) triggers on push to themain
branch and produces a final release,both of which can make use of two new reusable workflows that
For this to work, we also need the following two features available: