stop adding 'v' before the contents of VERSION file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
b72d7d1950
commit
49cfcd3e24
|
@ -9,7 +9,7 @@ def timestamp() {
|
||||||
|
|
||||||
def suffix() {
|
def suffix() {
|
||||||
if (params.RELEASE == true) {
|
if (params.RELEASE == true) {
|
||||||
return 'v' + readFile("${env.WORKSPACE}/${env.STATUS_PATH}/VERSION").trim()
|
return readFile("${env.WORKSPACE}/${env.STATUS_PATH}/VERSION").trim()
|
||||||
} else {
|
} else {
|
||||||
return "${timestamp()}-${gitCommit()}"
|
return "${timestamp()}-${gitCommit()}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue