diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a79fc48..2262727 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,8 +45,8 @@ assembleDebug: artifacts: paths: - app/build/outputs/ - -# Job for building signed release APK for tags containing "release" + +# Job for building signed release APK for tags containing "release" on any branch assembleRelease: stage: build script: @@ -104,6 +104,7 @@ assembleRelease: expire_in: never rules: - if: $CI_COMMIT_TAG =~ /release/ + - when: never # This ensures the job doesn't run for non-tag commits debugTests: needs: [lintDebug, assembleDebug]