Title: Cannot create release version after creating a pre-release version · Issue #1068 · commitizen-tools/commitizen · GitHub
Open Graph Title: Cannot create release version after creating a pre-release version · Issue #1068 · commitizen-tools/commitizen
X Title: Cannot create release version after creating a pre-release version · Issue #1068 · commitizen-tools/commitizen
Description: Description Hi, I am pretty new when it comes to using Commitizen and have not been able to solve this issue: Commitizen verison: 3.21.2 Version provider: poetry When merging a pull request in Github, I have a workflow that automatically...
Open Graph Description: Description Hi, I am pretty new when it comes to using Commitizen and have not been able to solve this issue: Commitizen verison: 3.21.2 Version provider: poetry When merging a pull request in Gith...
X Description: Description Hi, I am pretty new when it comes to using Commitizen and have not been able to solve this issue: Commitizen verison: 3.21.2 Version provider: poetry When merging a pull request in Gith...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1068
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot create release version after creating a pre-release version","articleBody":"### Description\n\nHi,\r\nI am pretty new when it comes to using Commitizen and have not been able to solve this issue:\r\n\r\nCommitizen verison: 3.21.2\r\nVersion provider: poetry \r\n\r\nWhen merging a pull request in Github, I have a workflow that automatically creates a pre-release using `cz bump --prerelease alpha`.\r\nThis is being created perfectly but after test that and checking that everything works fine, I have a manual flow that I can trigger to create a Release. This release flow will run `cz bump`. This fails with the message: No commits found.\r\n\r\nI have tried adding `cz -nr 3 bump` with no success (same results).\r\n\r\nNot sure but it seems like the pre-release is noticing a new feature change and bumping the version. After that a new commit with the alpha version bump is creating in main which makes the release version not noticing the feature commit?\r\n\r\nIs there a way to release (bump) after doing a pre-release without need a new commit?\n\n### Steps to reproduce\n\n1. Push a PR with feat in title.\r\n2. Merge PR and GitHub workflow will create a pre-release version (using cz bump -prerelease alpha)\r\n3. Manually trigger a workflow with release version (using cz bump)\n\n### Current behavior\n\nWhen bumping to the release version, error message is shown: No commits found\n\n### Desired behavior\n\nA release version should be able to be created after pre-release version\n\n### Screenshots\n\n_No response_\n\n### Environment\n\n- commitizen: 3.21.2\r\n- python: 3.10.5","author":{"url":"https://github.com/ahmadgbg","@type":"Person","name":"ahmadgbg"},"datePublished":"2024-04-16T18:04:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1068/commitizen/issues/1068"}
| 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:aee1af43-e3f2-5a1a-1744-0ff0ddd92ddc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A576:2AB1FC:2287F53:322B314:6A60C65F |
| html-safe-nonce | 49171dc42a3d76595f65da02981dda5a94b8e41bf34af1eecbb44bc61b89e481 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTc2OjJBQjFGQzoyMjg3RjUzOjMyMkIzMTQ6NkE2MEM2NUYiLCJ2aXNpdG9yX2lkIjoiMzAwODAyNjQ2MjYwMjE4NDI4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | af1410d7a8fd2a87ae4ec419b42b9ef3b5ab8565f063459c3ed8f65f23c15d5d |
| hovercard-subject-tag | issue:2246615517 |
| 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/1068/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ee2c4d5570503aa64ba9212c1ed21f12165b5226bd1f90834f44d5df3432a15/commitizen-tools/commitizen/issues/1068 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ee2c4d5570503aa64ba9212c1ed21f12165b5226bd1f90834f44d5df3432a15/commitizen-tools/commitizen/issues/1068 |
| og:image:alt | Description Hi, I am pretty new when it comes to using Commitizen and have not been able to solve this issue: Commitizen verison: 3.21.2 Version provider: poetry When merging a pull request in Gith... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ahmadgbg |
| hostname | github.com |
| expected-hostname | github.com |
| None | e30aeaafb59b2438b8b0aaa24f4c6777e8e86dae0737625adfc928cac5443cd5 |
| 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 | 34b43e23ce2dc970fbfce25d0e96500f2af8266d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width