Repository navigation
Replies: 1 comment
|
If the goal is a CI guard rather than a version bump, I would keep those operations separate: read the current version with That also avoids a subtle problem with trying to make If you actually want "convert a stable version to rc0, otherwise preserve an existing rc unchanged", the safe workflow is therefore:
That keeps Hatch's segment semantics predictable: commands that name a segment continue to mean "update that segment", while idempotent policy checks remain in the release automation that needs them. |
Uh oh!
There was an error while loading. Please reload this page.
I use dynamic versioning via a file and want to ensure the version is a relaease candidate.
I saw the option
version rchereIt will change version 1.0.0 to 1.0.0rc0 or 1.0.0rc0 to 1.0.0rc1
Is there a way to change nothing when a version is already a rc?
I just want to ensure no release version is used.
All reactions