{"repo":"orchestr7/vercraft","free":true,"listed":false,"github":"https://github.com/orchestr7/vercraft","clone":"git clone https://github.com/orchestr7/vercraft.git","description":"A simple tool for versioning your JVM app which calculates the version of the commit in SemVer format","language":"Kotlin","stars":46,"topics":["git","github-actions","gradle","jvm","versioning"],"license":"MIT","category":"workflow-automation","readme_excerpt":"A simple tool for versioning your JVM app VerCraft is a yet another plugin, which calculates the current version in SemVer format based on the checked-out commit and applies it to build tools and release plugins. It also makes release preparations by calculating the next version for the upcoming release, creating a new release branch, and tagging the commit with the generated version to reduce manual release work. Contribution and Acknowledgement We will be glad if you will test VerCraft or contribute to this project. In case you don't have much time for this - at least spend 5 seconds to give us a star to attract other contributors! Thanks! :partying face: Special thanks to those awesome developers who has given great suggestions for this project: @nulls, @semyon-zvyagin, denis-markushin, nutrolshok Quick start No boring configuration, add the following plugin to your parent build.gradle(kts): To create local release tag, local release branch, calculate and return version, run: (Optional) For manual calculation of the version for current checked-out commit, run: Vercraft in CI (!) Important: Vercraft uses branches and git history for the calculation of version. So for a proper work, you need to do the following setup: ✅ Github: set fetch-depth: 0 in checkout action \\ ✅ Gitlab: set GIT DEPTH: 0 in your particular job All modern CI platforms check out a specific commit to execute their actions. This places the repository in a “detached HEAD” state, meaning Vercraft cannot auto","default_branch":null,"files":null,"tree":[],"storefront":"/r/orchestr7","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/orchestr7/vercraft/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}