Update .gitlab-ci.yml file
This commit is contained in:
@@ -46,20 +46,12 @@ assembleDebug:
|
|||||||
paths:
|
paths:
|
||||||
- app/build/outputs/
|
- 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
|
# Job for building signed release APK for tags containing "release" on any branch
|
||||||
assembleRelease:
|
assembleRelease:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
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
|
if [[ "$CI_COMMIT_TAG" =~ release ]]; then
|
||||||
echo "Tag contains 'release'. Proceeding with release APK build."
|
|
||||||
|
|
||||||
echo "Decoding keystore file from Base64"
|
echo "Decoding keystore file from Base64"
|
||||||
|
|
||||||
# Debug: Print the first few characters of BASE64_KEYSTORE
|
# Debug: Print the first few characters of BASE64_KEYSTORE
|
||||||
|
|||||||
Reference in New Issue
Block a user