Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the release process from SNAPSHOT to build number

Currently we are using axion-release-plugin to control our release process. Now we would like to drop the SNAPSHOT and introduce the build number in our release process. So that we can achieve CI.

Basically currently we are using version 1.0.0-SNAPSHOT and now we need something like 1.0.0-BUILDNUMBER or 1.0.BUILDNUMBER from Jenkins.

Please provide any solution or plugin we can use with gradle.

like image 250
Shobhit Avatar asked Jul 14 '17 22:07

Shobhit


1 Answers

I'm actually quite happy with nebula-release-plugin developed by NetFlix. It can generate a unique version number based on branches and tags in your git repo.

By default it counts with using git flow, but you can reconfigure the behaviour. Take a look :)

like image 140
trainmaster Avatar answered Nov 15 '22 06:11

trainmaster