summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-06-01 02:48:26 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-01 02:48:26 +0300
commite7d7310eb6e6bac508da7f3deea193fc77abe813 (patch)
tree82cb4f337de369b144f7f9ef596b3de2e9c94a69
parentb2eb2dbca6028f825cf221abe7154fdfdb6ed4e3 (diff)
downloadmv-e7d7310eb6e6bac508da7f3deea193fc77abe813.tar.gz
mv-e7d7310eb6e6bac508da7f3deea193fc77abe813.tar.bz2
mv-e7d7310eb6e6bac508da7f3deea193fc77abe813.tar.xz
mv-e7d7310eb6e6bac508da7f3deea193fc77abe813.zip
Add token variable mapping for azure macosx ci
-rwxr-xr-xpackaging/OSX/gethttps.sh2
-rw-r--r--tools/ci/templates/azure/macosx.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/packaging/OSX/gethttps.sh b/packaging/OSX/gethttps.sh
index be2d3cc2b..b45ec794c 100755
--- a/packaging/OSX/gethttps.sh
+++ b/packaging/OSX/gethttps.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-git clone https://azure:${gitlabtoken}@gitlab.com/manaplus/manaplus-xcode.git ../../Xcode
+git clone https://azure:${GITLABTOKEN}@gitlab.com/manaplus/manaplus-xcode.git ../../Xcode
diff --git a/tools/ci/templates/azure/macosx.yml b/tools/ci/templates/azure/macosx.yml
index 20161dfa9..adcc1431c 100644
--- a/tools/ci/templates/azure/macosx.yml
+++ b/tools/ci/templates/azure/macosx.yml
@@ -12,6 +12,8 @@ jobs:
export xcodename="${{ parameters.xcode }}"
export artifacts="$(Build.ArtifactStagingDirectory)"
./tools/ci/jobs/xcode.sh
+ env:
+ GITLABTOKEN: $(gitlabtoken)
- task: PublishBuildArtifacts@1
inputs:
artifactName: ${{ parameters.name }}