Title: Bump increments to new pre-release version from pre-release version when it wouldn't from final version · Issue #688 · commitizen-tools/commitizen · GitHub
Open Graph Title: Bump increments to new pre-release version from pre-release version when it wouldn't from final version · Issue #688 · commitizen-tools/commitizen
X Title: Bump increments to new pre-release version from pre-release version when it wouldn't from final version · Issue #688 · commitizen-tools/commitizen
Description: Description Running $ cz bump --prerelease beta when the current version is a previous pre-release bumps the version even when there are no commits that would require it, e.g. only build/ci commits. Steps to reproduce Start with a final ...
Open Graph Description: Description Running $ cz bump --prerelease beta when the current version is a previous pre-release bumps the version even when there are no commits that would require it, e.g. only build/ci commits...
X Description: Description Running $ cz bump --prerelease beta when the current version is a previous pre-release bumps the version even when there are no commits that would require it, e.g. only build/ci commits...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/688
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bump increments to new pre-release version from pre-release version when it wouldn't from final version","articleBody":"### Description\r\n\r\nRunning `$ cz bump --prerelease beta` when the current version is a previous pre-release bumps the version even when there are no commits that would require it, e.g. only `build`/`ci` commits.\r\n\r\n### Steps to reproduce\r\n\r\n1. Start with a final version, e.g. `v0.0.1`\r\n2. `$ git commit -m \"ci: CI-specific change not requiring release\"`\r\n3. `$ cz bump --prerelease beta` -\u003e Refuses to bump the version as expected \r\n4. `$ git commit -m \"fix: Prospective fix requiring beta testing\"`\r\n5. `$ cz bump --prerelease beta` -\u003e Bumps to `v0.0.2b0` as expected \r\n6. `$ git commit -m \"build: Local devel change not requiring release\"`\r\n7. `$ cz bump --prerelease beta` -\u003e Bumps unexpectedly to `v0.0.2b1`\r\n\r\n### Current behavior\r\n\r\nMaintainers can't use `$ cz bump` as a tool to interpret conventional commit messages to determine if a release is required when the current version is a pre-release. When some contributors are making `build: ...`/`ci: ...` changes while features are in beta testing, this behavior results in a lot of noisy, meaningless `v#.#.#b9999999....` bump commits, tags, and releases.\r\n\r\n### Desired behavior\r\n\r\nMaintainers should be able to use `$ cz bump`, or `$ cz ...` in some other form, to determine if the conventional commit messages since the last pre-release require a new pre-release.\r\n\r\n### Environment\r\n\r\n```bash\r\n(build) rpatterson@rpatterson:~/src/devel/python-project-structure$ cz version --report\r\nCommitizen Version: 2.42.1\r\nPython Version: 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0]\r\nOperating System: Linux\r\n```","author":{"url":"https://github.com/rpatterson","@type":"Person","name":"rpatterson"},"datePublished":"2023-03-16T18:24:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/688/commitizen/issues/688"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a0c162de-bf74-9c3a-9258-ba85479e341c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C9E:3ED847:6FB8E5:A5A993:6A4E134F |
| html-safe-nonce | 9501144f5c9cddec12fe23dbfbefe5bebe3e6aa2125bb291f3c3bd11480415da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzlFOjNFRDg0Nzo2RkI4RTU6QTVBOTkzOjZBNEUxMzRGIiwidmlzaXRvcl9pZCI6IjI5MzIyNDM5ODk0NTYwOTgxMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 948b19f50ce136d3f9b2e171559d002c558a2213a75bd02d5ce73275bba6649d |
| hovercard-subject-tag | issue:1628052526 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/688/issue_layout |
| twitter:image | https://opengraph.githubassets.com/918a0526cb740fcc96803b7b598c119d7551eeac18ca1fc5f77b4ca4709848ea/commitizen-tools/commitizen/issues/688 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/918a0526cb740fcc96803b7b598c119d7551eeac18ca1fc5f77b4ca4709848ea/commitizen-tools/commitizen/issues/688 |
| og:image:alt | Description Running $ cz bump --prerelease beta when the current version is a previous pre-release bumps the version even when there are no commits that would require it, e.g. only build/ci commits... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rpatterson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ea9187571e3edc5f2780f750631138669441ca50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width