From bb2fc0eb8f33357c197dd46eebfffe0ec92d5a11 Mon Sep 17 00:00:00 2001 From: Chandrashekhar Reddy Date: Wed, 16 Oct 2024 06:56:06 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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]