René's URL Explorer Experiment


Title: version_files not working · Issue #1369 · commitizen-tools/commitizen · GitHub

Open Graph Title: version_files not working · Issue #1369 · commitizen-tools/commitizen

X Title: version_files not working · Issue #1369 · commitizen-tools/commitizen

Description: Description I'm using commitizen in a expo + react-native project I do cz init and make a .cz.json like this { "commitizen": { "name": "cz_conventional_commits", "tag_format": "test-$version", "version_scheme": "semver", "version": "3.2....

Open Graph Description: Description I'm using commitizen in a expo + react-native project I do cz init and make a .cz.json like this { "commitizen": { "name": "cz_conventional_commits", "tag_format": "test-$version", "ver...

X Description: Description I'm using commitizen in a expo + react-native project I do cz init and make a .cz.json like this { "commitizen": { "name": "cz_conventional_commits", &...

Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1369

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"version_files not working","articleBody":"### Description\n\nI'm using commitizen in a expo + react-native project\nI do cz init and make a .cz.json like this\n```json\n{\n  \"commitizen\": {\n    \"name\": \"cz_conventional_commits\",\n    \"tag_format\": \"test-$version\",\n    \"version_scheme\": \"semver\",\n    \"version\": \"3.2.4\",\n    \"update_changelog_on_bump\": true,\n    \"version_files\": [\n      \"package.json:version\",\n      \"app.json:expo.version\"\n    ]\n  }\n}\n```\nbtw I select `commitizen(default)` not `npm` in source of the version\n\nthen I do `cz commit` and `cz bump`\neverything finish\nversion in .cz.json did update\nbut version in package.json and app.json not update\n\nI'm not sure is it a bug or not,\nmaybe is something I missed in configuration?\nor is a syntax error?\n\n### Steps to reproduce\n\n1. run `cz init`.\n2. select \n    - `.cz.json`\n    - `cz_conventional_commits(default)`\n    - `commitizen(default)`\n    - `Y (latest tag)`\n    - `semver`\n    - `n (correct tag format)`\n    - `test-$version`\n    - `Y (auto changelog)`\n    - `enter (with no hooks)`\n3. manually setting `version_files` in .cz.json\n4. create new commit\n5. run `cz bump`\n### Current behavior\n\nafter I setting `package.json:version` and `app.json:expo.version`\nI think these 2 files will update the correct version\nsame as the version in .cz.json\nbut not\n\n### Desired behavior\n\nI want these 3 files update with same and correct version\n- package.json (version)\n- app.json (expo.version)\n- .cz.json (version)\n\n### Screenshots\n\n_No response_\n\n### Environment\n\nCommitizen Version: 4.4.1\nPython Version: 3.13.2 (main, Feb  4 2025, 14:51:09) [Clang 16.0.0 (clang-1600.0.26.6)]\nOperating System: Darwin","author":{"url":"https://github.com/WinnieS0728","@type":"Person","name":"WinnieS0728"},"datePublished":"2025-03-13T06:21:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/1369/commitizen/issues/1369"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5f49c302-106c-6647-c937-ee6fd4a67891
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A1C:8B50E:BB94302:F31CFF1:6976F4CC
html-safe-noncebe78b915474ee5f9b68139c4f73230a2afc39fced7c74425804e63be000c61f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTFDOjhCNTBFOkJCOTQzMDI6RjMxQ0ZGMTo2OTc2RjRDQyIsInZpc2l0b3JfaWQiOiIzMzgyNDA2ODM0NjU0OTk5NzU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdfed1d8924f1744ab1efe3712400407b18af4e8142a007e015b652f84e403a28
hovercard-subject-tagissue:2915991369
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/1369/issue_layout
twitter:imagehttps://opengraph.githubassets.com/673ea7c576e15fda853e809c2515f6354418f34c44eddfbb781aaad126e313a5/commitizen-tools/commitizen/issues/1369
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/673ea7c576e15fda853e809c2515f6354418f34c44eddfbb781aaad126e313a5/commitizen-tools/commitizen/issues/1369
og:image:altDescription I'm using commitizen in a expo + react-native project I do cz init and make a .cz.json like this { "commitizen": { "name": "cz_conventional_commits", "tag_format": "test-$version", "ver...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameWinnieS0728
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
go-importgithub.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git
octolytics-dimension-user_id62252524
octolytics-dimension-user_logincommitizen-tools
octolytics-dimension-repository_id106127589
octolytics-dimension-repository_nwocommitizen-tools/commitizen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id106127589
octolytics-dimension-repository_network_root_nwocommitizen-tools/commitizen
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/commitizen-tools/commitizen/issues/1369#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fissues%2F1369
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fissues%2F1369
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=commitizen-tools%2Fcommitizen
Reloadhttps://patch-diff.githubusercontent.com/commitizen-tools/commitizen/issues/1369
Reloadhttps://patch-diff.githubusercontent.com/commitizen-tools/commitizen/issues/1369
Reloadhttps://patch-diff.githubusercontent.com/commitizen-tools/commitizen/issues/1369
commitizen-tools https://patch-diff.githubusercontent.com/commitizen-tools
commitizenhttps://patch-diff.githubusercontent.com/commitizen-tools/commitizen
Please reload this pagehttps://patch-diff.githubusercontent.com/commitizen-tools/commitizen/issues/1369
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Fork 314 https://patch-diff.githubusercontent.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Star 3.3k https://patch-diff.githubusercontent.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Code https://patch-diff.githubusercontent.com/commitizen-tools/commitizen
Issues 125 https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/issues
Pull requests 27 https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/pulls
Discussions https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/discussions
Actions https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/actions
Projects 0 https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/projects
Security 0 https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/security
Insights https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/pulse
Code https://patch-diff.githubusercontent.com/commitizen-tools/commitizen
Issues https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/issues
Pull requests https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/pulls
Discussions https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/discussions
Actions https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/actions
Projects https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/projects
Security https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/security
Insights https://patch-diff.githubusercontent.com/commitizen-tools/commitizen/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/commitizen-tools/commitizen/issues/1369
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/commitizen-tools/commitizen/issues/1369
version_files not workinghttps://patch-diff.githubusercontent.com/commitizen-tools/commitizen/issues/1369#top
issue-status: needs-triagehttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22issue-status%3A%20needs-triage%22
https://github.com/WinnieS0728
https://github.com/WinnieS0728
WinnieS0728https://github.com/WinnieS0728
on Mar 13, 2025https://github.com/commitizen-tools/commitizen/issues/1369#issue-2915991369
issue-status: needs-triagehttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22issue-status%3A%20needs-triage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.