added suto deloy to testflight

This commit is contained in:
Kai Kriegel 2021-09-19 20:30:14 +00:00
parent d6c931db11
commit 154cc138b3

View File

@ -108,7 +108,7 @@ build_iOS:
expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on
paths: paths:
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.ipa - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.ipa
- Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.app.dSYM - Borepin/Borepin.iOS/bin/iPhone/Debug/
# - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests # - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests
build_GTK: build_GTK:
@ -166,3 +166,24 @@ deploy_Android:
- 'rm play-store-credentials.json' - 'rm play-store-credentials.json'
dependencies: dependencies:
- build_Android - build_Android
deploy_iOS:
variables:
LC_ALL: 'en_US.UTF-8'
LANG: 'en_US.UTF-8'
only:
- alpha
needs:
- build_iOS
stage: deploy
tags:
- macos
before_script:
- 'echo $app_store_credentials > app-store-credentials.json'
script:
- 'bundle install'
- 'bundle exec fastlane pilot upload --api_key_path app-store-credentials.json'
after_script:
- 'rm app-store-credentials.json'
dependencies:
- build_iOS