Update .gitlab-ci.yml file

This commit is contained in:
Chandrashekhar Reddy
2024-10-16 09:22:04 +00:00
parent a82f72ac38
commit 7c0d5bc76e

View File

@@ -46,20 +46,12 @@ assembleDebug:
paths:
- app/build/outputs/
# Job for building signed release APK for tags containing "release" on any branch
# Job for building signed release APK for tags containing "release" on any branch
assembleRelease:
stage: build
script:
- |
echo "Current branch: $CI_COMMIT_BRANCH"
echo "Current tag: $CI_COMMIT_TAG"
echo "Is tag? $CI_COMMIT_TAG"
echo "Is branch? $CI_COMMIT_BRANCH"
if [[ "$CI_COMMIT_TAG" =~ release ]]; then
echo "Tag contains 'release'. Proceeding with release APK build."
echo "Decoding keystore file from Base64"
# Debug: Print the first few characters of BASE64_KEYSTORE