Title: No commits found to generate a pre-release · Issue #415 · commitizen-tools/commitizen · GitHub
Open Graph Title: No commits found to generate a pre-release · Issue #415 · commitizen-tools/commitizen
X Title: No commits found to generate a pre-release · Issue #415 · commitizen-tools/commitizen
Description: Description cz bump --prerelease rc should handle missing "bumpable" commits the same way as cz bump. Steps to reproduce create a non-bumpable commit (i.e. ci or build) run cz bump --prerelease rc --dry-run Current behavior The command t...
Open Graph Description: Description cz bump --prerelease rc should handle missing "bumpable" commits the same way as cz bump. Steps to reproduce create a non-bumpable commit (i.e. ci or build) run cz bump --prerelease rc ...
X Description: Description cz bump --prerelease rc should handle missing "bumpable" commits the same way as cz bump. Steps to reproduce create a non-bumpable commit (i.e. ci or build) run cz bump --prer...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/415
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No commits found to generate a pre-release","articleBody":"## Description\r\n\r\n`cz bump --prerelease rc` should handle missing \"bumpable\" commits the same way as `cz bump`.\r\n\r\n## Steps to reproduce\r\n\r\n1. create a non-bumpable commit (i.e. `ci` or `build`)\r\n2. run `cz bump --prerelease rc --dry-run`\r\n\r\n## Current behavior\r\n\r\nThe command terminates with an error:\r\n\r\n```bash\r\n$ cz bump --prerelease rc --dry-run\r\n[NO_COMMITS_FOUND]\r\nNo commits found to generate a pre-release.\r\nTo avoid this error, manually specify the type of increment with `--increment`\r\n```\r\n\r\n## Desired behavior\r\n\r\nIt should behave like running `cz bump` without `--prerelease` flag.\r\n\r\n```bash\r\n$ cz bump --dry-run \r\nbump: version 1.2.1 → 1.2.1 [skip ci]\r\ntag to create: v1.2.1\r\nincrement detected: None\r\n```\r\n\r\n## Environment\r\n\r\n- commitizen version: 2.18.0\r\n- python version: 3.9.4\r\n- operating system: Darwin\r\n","author":{"url":"https://github.com/m1racoli","@type":"Person","name":"m1racoli"},"datePublished":"2021-09-03T11:54:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/415/commitizen/issues/415"}
| 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:2269363b-b84a-e7f8-6451-81fb89252f6a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E59A:39522F:B7A809:FB3B2A:6A4DC585 |
| html-safe-nonce | 1770107bea6429425deb9061957c2a23d33b29cdeb4152d1a40b64f835b50f0f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTlBOjM5NTIyRjpCN0E4MDk6RkIzQjJBOjZBNERDNTg1IiwidmlzaXRvcl9pZCI6Ijc0MTU3NDY5Nzk1MTcyODU3NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bc4697bd39c373ac8a9a8c14187215984107296679424b6e243ad9086b30be71 |
| hovercard-subject-tag | issue:987695046 |
| 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/415/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dfe6ec126834f2ac2ad8ec326225c76b248a70d2e2934a4b91456fc8c358250d/commitizen-tools/commitizen/issues/415 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dfe6ec126834f2ac2ad8ec326225c76b248a70d2e2934a4b91456fc8c358250d/commitizen-tools/commitizen/issues/415 |
| og:image:alt | Description cz bump --prerelease rc should handle missing "bumpable" commits the same way as cz bump. Steps to reproduce create a non-bumpable commit (i.e. ci or build) run cz bump --prerelease rc ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | m1racoli |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width