summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/templates/Android-Fastlane.gitlab-ci.yml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-11-08 12:06:32 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-11-08 12:06:32 +0000
commit61f0c58946ebac453b55a657cd4be1ac50a01e11 (patch)
tree7b164c1cc9dc8ab1d100ca4fe90decf6d72e984b /lib/gitlab/ci/templates/Android-Fastlane.gitlab-ci.yml
parentd23b2a0871f3ca507aafa949e0314625f1f0c6a7 (diff)
downloadgitlab-ce-61f0c58946ebac453b55a657cd4be1ac50a01e11.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/templates/Android-Fastlane.gitlab-ci.yml')
-rw-r--r--lib/gitlab/ci/templates/Android-Fastlane.gitlab-ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gitlab/ci/templates/Android-Fastlane.gitlab-ci.yml b/lib/gitlab/ci/templates/Android-Fastlane.gitlab-ci.yml
index be584814271..4ec3bb15230 100644
--- a/lib/gitlab/ci/templates/Android-Fastlane.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Android-Fastlane.gitlab-ci.yml
@@ -113,9 +113,10 @@ promoteBeta:
promoteProduction:
extends: .promote_job
stage: production
- # We only allow production promotion on `master` because
+ # We only allow production promotion on the default branch because
# it has its own production scoped secret variables
only:
- - master
+ variables:
+ - $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME
script:
- bundle exec fastlane promote_beta_to_production