mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Implements staging [stage]
This commit is contained in:
parent
c86cc138c0
commit
6e00f55fd8
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ project.ext {
|
|||
arch = getArchName()
|
||||
privateExtensions = file("$rootDir/private_extensions.txt").exists() ? file("$rootDir/private_extensions.txt").readLines() : []
|
||||
isFullRelease = System.getenv('RELEASE') != null && Boolean.parseBoolean(System.getenv('RELEASE'))
|
||||
versionString = file('version').text + (isFullRelease ? '' : '-SNAPSHOT')
|
||||
isStage = System.getenv('STAGE') != null && Boolean.parseBoolean(System.getenv('STAGE'))
|
||||
versionString = file('version').text + (isFullRelease || isStage ? '' : '-SNAPSHOT')
|
||||
canonicalVersionString = file('version').text
|
||||
buildId = UUID.nameUUIDFromBytes(versionString.getBytes())
|
||||
obfuscate = true
|
||||
|
|
Loading…
Reference in a new issue