markchalloner / git-semver

Git plugin for Semantic Versioning
MIT License
382 stars 43 forks source link

Autoincrement patch #39

Closed zimt28 closed 5 years ago

zimt28 commented 5 years ago

Is it possible to automatically increment patch versions per commit?

markchalloner commented 5 years ago

Yes. You could create a post-commit hook to call git semver patch. It might also be worth using something like https://github.com/icefox/git-hooks to version control your hooks.

Closing as the solution is not specific to this project.