question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[feature] support finding latest relase version in bump version commit message

See original GitHub issue

Goal 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:open
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
woilecommented, Sep 1, 2020

Agreed, that’d be helpful in the init

1reaction
voidfulcommented, Sep 1, 2020

The same problem also occurs in cz init When I init cz for my existing project, it detect version from git 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found