Title: outputs.version is set only if commit is true · Issue #94 · commitizen-tools/commitizen-action · GitHub
Open Graph Title: outputs.version is set only if commit is true · Issue #94 · commitizen-tools/commitizen-action
X Title: outputs.version is set only if commit is true · Issue #94 · commitizen-tools/commitizen-action
Description: I have a workflow where I'm relying solely on the git history for version updates (no file changes). You can turn off any file updates or other git changes by writing: - id: bump name: Create bump uses: commitizen-tools/commitizen-action...
Open Graph Description: I have a workflow where I'm relying solely on the git history for version updates (no file changes). You can turn off any file updates or other git changes by writing: - id: bump name: Create bump ...
X Description: I have a workflow where I'm relying solely on the git history for version updates (no file changes). You can turn off any file updates or other git changes by writing: - id: bump name: Create b...
Opengraph URL: https://github.com/commitizen-tools/commitizen-action/issues/94
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"outputs.version is set only if commit is true","articleBody":"I have a workflow where I'm relying solely on the git history for version updates (no file changes). \r\nYou can turn off any file updates or other git changes by writing:\r\n```\r\n- id: bump\r\n name: Create bump\r\n uses: commitizen-tools/commitizen-action@master\r\n with:\r\n push: false\r\n commit: false\r\n```\r\n\r\n... and you get the expected output:\r\n```\r\ncz --no-raise 21 bump --yes --changelog --files-only\r\nbump: version 0.0.0 → 0.1.0\r\ntag to create: 0.1.0\r\nincrement detected: MINOR\r\n\r\nRepository: someorg/somerepo\r\nActor: clockwork-muse\r\nNot pushing\r\nDone.\r\n```\r\n**Unfortunately**, this doesn't update `outputs.version`, leaving it at the previous version (`0.0.0`). This means I have to set `commit: true`, which disturbs the in-runner git state, which slightly complicates creation of releases (although in all honesty I probably should have done that anyways...).","author":{"url":"https://github.com/Clockwork-Muse","@type":"Person","name":"Clockwork-Muse"},"datePublished":"2024-11-19T18:02:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/94/commitizen-action/issues/94"}
| 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:2d17003e-8bc3-ba03-13a3-9cb1b0946401 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99F6:18E94D:4B1316E:607A32E:69762C28 |
| html-safe-nonce | 680ff9c35ab10419295e6afac1d12619f54b4fb7ee51ceb0b667def2f393b409 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUY2OjE4RTk0RDo0QjEzMTZFOjYwN0EzMkU6Njk3NjJDMjgiLCJ2aXNpdG9yX2lkIjoiMzc5ODk5Mjc5Mzc3ODkyNDU4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5624eba56650ae12da1f2da209b38b0b21b9f69bb4bc98fb8241ffa8d3e965ec |
| hovercard-subject-tag | issue:2673060564 |
| 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-action/94/issue_layout |
| twitter:image | https://opengraph.githubassets.com/10c3529682daf076cb88b93d7c881a38173eb3301fd7ea078f747d1649b518cc/commitizen-tools/commitizen-action/issues/94 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/10c3529682daf076cb88b93d7c881a38173eb3301fd7ea078f747d1649b518cc/commitizen-tools/commitizen-action/issues/94 |
| og:image:alt | I have a workflow where I'm relying solely on the git history for version updates (no file changes). You can turn off any file updates or other git changes by writing: - id: bump name: Create bump ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Clockwork-Muse |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen-action git https://github.com/commitizen-tools/commitizen-action.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 287308634 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 287308634 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen-action |
| 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 | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width