Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lokkju/58d1fd40b2481a452d1d to your computer and use it in GitHub Desktop.
Save lokkju/58d1fd40b2481a452d1d to your computer and use it in GitHub Desktop.
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.2.3'
id 'java'
id 'maven'
}
scmVersion {
tag {
prefix = ''
serialize = {config, version -> "$version-RELEASE"}
}
versionCreator 'versionWithBranch'
}
group = 'com.lokkju.propertydrill'
project.version = scmVersion.version
@lokkju
Copy link
Author

lokkju commented May 3, 2015

put this in your build.gradle, git commit and push, gradle release; you now have a new release in github, versioned appropriately!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment