Merge pull request #4287 from status-im/fix/finding-release-tag
search explicitly for release/xyz tags
This commit is contained in:
commit
6f8d777cea
|
@ -33,7 +33,7 @@ node ('macos1'){
|
||||||
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 --max-count=1`').trim()
|
latest_tag = sh(returnStdout: true, script: 'git describe --tags `git rev-list --tags=release --max-count=1`').trim()
|
||||||
sh 'git tag -d ' + latest_tag
|
sh 'git tag -d ' + latest_tag
|
||||||
sh 'rm -rf node_modules'
|
sh 'rm -rf node_modules'
|
||||||
sh 'cp .env.nightly .env'
|
sh 'cp .env.nightly .env'
|
||||||
|
|
Loading…
Reference in New Issue