diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c043139..d731cd0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -180,6 +180,29 @@ deploy_Android_Internal: after_script: - 'rm play-store-credentials.json' +deploy_Android_APK: + stage: deploy + needs: + - pack_Android_APK + rules: + - if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/ + tags: + - docker + image: registry.gitlab.com/fabinfra/gtk-sharp-build:latest + variables: + LC_ALL: 'en_US.UTF-8' + LANG: 'en_US.UTF-8' + + before_script: + - 'export VERSION_NUMBER=${CI_COMMIT_TAG:1}' + - 'export BUILD_NUMBER="$CI_PIPELINE_ID"' + script: + - 'mkdir -p public' + - 'cp Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.apk public/' + artifacts: + paths: + - public + deploy_Android_Beta: stage: deploy needs: