also fix finding latest_tag for releases
This commit is contained in:
parent
bdd843d209
commit
e6d556679d
|
@ -34,7 +34,10 @@ timeout(90) {
|
|||
checkout scm
|
||||
|
||||
sh 'git fetch --tags'
|
||||
latest_tag = sh(returnStdout: true, script: 'git describe --tags `git rev-list --tags=release --max-count=1`').trim()
|
||||
latest_tag = sh(
|
||||
returnStdout: true,
|
||||
script: 'git describe --tags `git rev-list --tags=\'[0-9]*.[0-9]*.[0-9]*\' --max-count=1`'
|
||||
).trim()
|
||||
sh 'rm -rf node_modules'
|
||||
sh 'cp .env.nightly .env'
|
||||
sh 'lein deps'
|
||||
|
|
Loading…
Reference in New Issue