diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95dd58e..62915ca 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,7 +89,7 @@ build_Android: expire_in: 1 week # save gitlab server space, we copy the files we need to deploy folder later on paths: - Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.aab # saving apk to copy to deploy folder - - Borepin/Borepin.Android/bin/Release/ + #- Borepin/Borepin.Android/bin/Release/ # - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests build_iOS: @@ -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 paths: - Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa - - Borepin/Borepin.iOS/bin/iPhone/Debug/ + #- Borepin/Borepin.iOS/bin/iPhone/Debug/ # - '$env:TEST_FOLDER\' # saving entire Test project so NUnit can run tests build_GTK: @@ -189,13 +189,12 @@ deploy_Android_beta: dependencies: - build_Android -deploy_iOS: +deploy_iOS_alpha: variables: LC_ALL: 'en_US.UTF-8' LANG: 'en_US.UTF-8' only: - alpha - - feature/fastlane needs: - build_iOS stage: deploy @@ -206,8 +205,32 @@ deploy_iOS: - 'export PATH="/usr/local/opt/ruby/bin:$PATH"' script: - 'bundle install' + - 'bundle update fastlane' - 'bundle exec fastlane pilot upload --api_key_path app-store-credentials.json --ipa Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa' after_script: - 'rm app-store-credentials.json' dependencies: - build_iOS + +deploy_iOS_beta: + variables: + LC_ALL: 'en_US.UTF-8' + LANG: 'en_US.UTF-8' + only: + - beta + needs: + - build_iOS + stage: deploy + tags: + - macos + before_script: + - 'echo $app_store_credentials > app-store-credentials.json' + - 'export PATH="/usr/local/opt/ruby/bin:$PATH"' + script: + - 'bundle install' + - 'bundle update fastlane' + - 'bundle exec fastlane pilot upload --api_key_path app-store-credentials.json --ipa Borepin/Borepin.iOS/bin/iPhone/Debug/Borepin.iOS.ipa --distribute_external true --groups Beta --changelog "$CI_COMMIT_MESSAGE"' + after_script: + - 'rm app-store-credentials.json' + dependencies: + - build_iOS diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 0f39ea6..e69de29 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -1,23 +0,0 @@ -# This file contains the fastlane.tools configuration -# You can find the documentation at https://docs.fastlane.tools -# -# For a list of all available actions, check out -# -# https://docs.fastlane.tools/actions -# -# For a list of all available plugins, check out -# -# https://docs.fastlane.tools/plugins/available-plugins -# - -# Uncomment the line if you want fastlane to automatically update itself -# update_fastlane - -default_platform(:ios) - -platform :ios do - desc "Description of what the lane does" - lane :custom_lane do - # add actions here: https://docs.fastlane.tools/actions - end -end