You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Auto bump still ignore pre-release version.
Example: on a repo containing the only tag 1.0.0-alpha, next generated version will be 0.1.0.
To Reproduce
#[sealed_test]fnshould_bump_from_latest_pre_release() -> Result<()>{git_init()?;git_commit("chore: init")?;git_commit("feat: feature 1")?;git_tag("1.0.0-alpha.0")?;git_commit("feat: feature 2")?;Command::cargo_bin("cog")?
.arg("bump").arg("--auto").assert().success();// This fail, the current behavior is to generate `0.1.0`assert_tag_exists("1.0.0")?;Ok(())}
Expected behavior
When the latest tag is a pre-release, auto bump should first try to calculate a bump from the latest non pre-release tag.
If the calculated bump is lower than the pre-release, fallback to the pre-release version number (without pre-release data).
Describe the bug
Auto bump still ignore pre-release version.
Example: on a repo containing the only tag
1.0.0-alpha
, next generated version will be0.1.0
.To Reproduce
Expected behavior
When the latest tag is a pre-release, auto bump should first try to calculate a bump from the latest non pre-release tag.
If the calculated bump is lower than the pre-release, fallback to the pre-release version number (without pre-release data).
Additional context
https://github.com/onagre-launcher/onagre/actions/runs/7902329552/job/21567765875
The text was updated successfully, but these errors were encountered: