fix release build
This commit is contained in:
parent
7233a5f97d
commit
38b94d7dce
|
@ -34,7 +34,7 @@ node ('macos1'){
|
||||||
error "Wrong branch name format: " + BRANCH_NAME + ", but it should be `release/version`"
|
error "Wrong branch name format: " + BRANCH_NAME + ", but it should be `release/version`"
|
||||||
}
|
}
|
||||||
|
|
||||||
checkout
|
checkout scm
|
||||||
|
|
||||||
version = BRANCH_NAME.substring(8)
|
version = BRANCH_NAME.substring(8)
|
||||||
sh 'echo "' + version + '" > .version'
|
sh 'echo "' + version + '" > .version'
|
||||||
|
|
Loading…
Reference in New Issue