fix release build

This commit is contained in:
Roman Volosovskyi 2018-05-11 12:49:59 +03:00
parent 7233a5f97d
commit 38b94d7dce
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ node ('macos1'){
error "Wrong branch name format: " + BRANCH_NAME + ", but it should be `release/version`"
}
checkout
checkout scm
version = BRANCH_NAME.substring(8)
sh 'echo "' + version + '" > .version'