Title: make tag creation optional · Issue #612 · commitizen-tools/commitizen · GitHub
Open Graph Title: make tag creation optional · Issue #612 · commitizen-tools/commitizen
X Title: make tag creation optional · Issue #612 · commitizen-tools/commitizen
Description: Description It would be great for our workflow to make it possible to opt out via config option of the creation of a git tag on cz bump. Possible Solution we could add a config option like disable_tag_creation (which defaults to false) t...
Open Graph Description: Description It would be great for our workflow to make it possible to opt out via config option of the creation of a git tag on cz bump. Possible Solution we could add a config option like disable_...
X Description: Description It would be great for our workflow to make it possible to opt out via config option of the creation of a git tag on cz bump. Possible Solution we could add a config option like disable_...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/612
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"make tag creation optional","articleBody":"### Description\n\nIt would be great for our workflow to make it possible to opt out via config option of the creation of a git tag on `cz bump`.\r\n\n\n### Possible Solution\n\nwe could add a config option like `disable_tag_creation` (which defaults to false) to make it possible to optional disable the creation of the git tag.\n\n### Additional context\n\nWe just started to use commitizen so maybe our workflow isn't the best right now.\r\n\r\nOur GitLab rules forbid to push on main and we don't want to change that. So we needed to find a way to create releases with commitizen without pushing to main. We came up with the following workflow:\r\n* create new branch localy from main\r\n* run `cz bump` (with changelog creation) (which create a local tag on that feature branch)\r\n* push a merge request (just the commit without the tag) to the upstream repo\r\n* have a teammate review and approve the merge request\r\n* merge the merge request\r\n* a ci pipeline will run on every merge to master with commit message \"bump: version.*\" and create a gitlab release for it which also creates a git tag\r\n\r\nBut this means we end up with tags on different commits locally than in our upstream repo.\r\nWe can clean things up by running\r\n```\r\ngit tag -l | xargs git tag -d\r\ngit fetch --tags\r\n```\r\nbut it would be good to just don't mess up things in the first place.\r\n\r\nAs I said, we're new to commitizen, so maybe there is an easier way to achive this \n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/TheKangaroo","@type":"Person","name":"TheKangaroo"},"datePublished":"2022-10-20T13:58:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/612/commitizen/issues/612"}
| 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:64d7d347-5e17-4433-cd03-bb956c2b4293 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7CE:24795C:9FA93:DC3DF:69774433 |
| html-safe-nonce | 15a52a7b0e9c25b910228c413c900b5c88b9b8eb290080b404c3b607f00b2d09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0NFOjI0Nzk1Qzo5RkE5MzpEQzNERjo2OTc3NDQzMyIsInZpc2l0b3JfaWQiOiIyNzAzMjIzNDQ0MDIyNDQ1MTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e9a3025036e0e152dbbef9db63a52b4789398b009342214ed6a819c844f9f84e |
| hovercard-subject-tag | issue:1416681493 |
| 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/612/issue_layout |
| twitter:image | https://opengraph.githubassets.com/501b5b08a3c7a421f45c06e930c744053e7ac15c8147490f99b632dddbcc4cdc/commitizen-tools/commitizen/issues/612 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/501b5b08a3c7a421f45c06e930c744053e7ac15c8147490f99b632dddbcc4cdc/commitizen-tools/commitizen/issues/612 |
| og:image:alt | Description It would be great for our workflow to make it possible to opt out via config option of the creation of a git tag on cz bump. Possible Solution we could add a config option like disable_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheKangaroo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| 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 | d37e99eca9fba24ee37da98481d573461cc1ab7d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width