mirror of
https://github.com/status-im/status-react.git
synced 2025-02-20 14:48:38 +00:00
also fix finding latest_tag for releases
This commit is contained in:
parent
bdd843d209
commit
e6d556679d
@ -34,7 +34,10 @@ timeout(90) {
|
|||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
sh 'git fetch --tags'
|
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 'rm -rf node_modules'
|
||||||
sh 'cp .env.nightly .env'
|
sh 'cp .env.nightly .env'
|
||||||
sh 'lein deps'
|
sh 'lein deps'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user