Update .gitlab-ci.yml file
This commit is contained in:
@@ -4,7 +4,7 @@ variables:
|
||||
ANDROID_COMPILE_SDK: "34"
|
||||
ANDROID_BUILD_TOOLS: "33.0.2"
|
||||
ANDROID_SDK_TOOLS: "9477386"
|
||||
|
||||
|
||||
# Keystore credentials stored as GitLab CI/CD variables
|
||||
KEYSTORE_FILE: "${CI_PROJECT_DIR}/keystore.jks" # Path to your keystore file
|
||||
KEYSTORE_PASSWORD: $KS_PASSWORD # GitLab CI/CD variable for the keystore password
|
||||
@@ -79,9 +79,7 @@ assembleRelease:
|
||||
-Pandroid.injected.signing.key.alias=$KEY_ALIAS \
|
||||
-Pandroid.injected.signing.key.password=$KEY_PASSWORD
|
||||
only:
|
||||
- tags
|
||||
except:
|
||||
- "/^((?!released).)*$/"
|
||||
- /^released$/
|
||||
artifacts:
|
||||
paths:
|
||||
- app/build/outputs/
|
||||
|
||||
Reference in New Issue
Block a user