[feature] support finding latest relase version in bump version commit message
See original GitHub issueGoal
Make automatic version bumping possible through version specified in version_files
Description
In commitizen/commands/bump.py#L36, we only use git tag
to find whether the tag specified in version_file
exists. If one project use version_files
without git tag
, “commitizen” will not be able to know whether it should bump without asking the user, which makes auto version bumping through CI difficult in this case.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Bump - Commitizen
The version is bumped automatically based on the commits. The commits should follow the rules of the committer to be parsed correctly. It...
Read more >Improve your commits and versioning in JavaScript
Using Conventional Commits and Semantic Versioning to improve and simplify your commits and version bumps in Javascript projects.
Read more >Automating Versioning and Releases Using Semantic Release
Calculate the new version number based on the commit messages; Create git tags for every release; Publish a release to GitHub releases ......
Read more >README - semantic-release
Generate notes. Generate release notes for the commits added since the last release. ; Create Git tag. Create a Git tag corresponding to...
Read more >release-please - npm
Release Please automates CHANGELOG generation, the creation of GitHub releases, and version bumps for your projects. It does so by parsing your ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Agreed, that’d be helpful in the init
The same problem also occurs in
cz init
When I init cz for my existing project, it detect version fromgit describe --abbrev=0 --tags
. However, this is not the version I wanted. Therefore, one of the solutions is to allow me to enter the latest version number during init.