Update .gitlab-ci.yml file

This commit is contained in:
Chandrashekhar Reddy
2024-10-16 06:56:06 +00:00
parent d1a6231716
commit bb2fc0eb8f

View File

@@ -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]