From f69f19ec049ffa3fcf87b54ef31cada0150cf13b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 16 May 2018 08:26:09 +0200 Subject: [PATCH] search explicitly for release/xyz tags --- Jenkinsfile.nightly_fastlane | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile.nightly_fastlane b/Jenkinsfile.nightly_fastlane index 887766e0e6..2cd66d46b4 100644 --- a/Jenkinsfile.nightly_fastlane +++ b/Jenkinsfile.nightly_fastlane @@ -33,7 +33,7 @@ node ('macos1'){ checkout scm 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 'rm -rf node_modules' sh 'cp .env.nightly .env'