Skip to content
Snippets Groups Projects
Commit 71dfd5da authored by Taras's avatar Taras
Browse files

Add signing directly to scripts

parent 3eedb4ed
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,6 @@ cache:
before_script:
- bundle install
- chmod +x ./gradlew
- echo $SIGNING_KEY_BASE64 | base64 -d > circuli_key.jks
- echo "KEY_PATH=circuli_key.jks" > signing.properties
- echo "KEY_PASSWORD=$KEY_PASSWORD" >> signing.properties
- echo "ALIAS_NAME=$ALIAS_NAME" >> signing.properties
stages:
- release
......@@ -23,6 +19,10 @@ createGitlabRelease:
- if: $CI_COMMIT_TAG
script:
- echo "Running the release job"
- echo $SIGNING_KEY_BASE64 | base64 -d > circuli_key.jks
- echo "KEY_PATH=circuli_key.jks" > signing.properties
- echo "KEY_PASSWORD=$KEY_PASSWORD" >> signing.properties
- echo "ALIAS_NAME=$ALIAS_NAME" >> signing.properties
- bundle exec fastlane buildFdroid
artifacts:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
......@@ -43,6 +43,10 @@ uploadPlayStoreBeta:
stage: deploy
script:
- echo "Running the uploadPlayStoreBeta job"
- echo $SIGNING_KEY_BASE64 | base64 -d > circuli_key.jks
- echo "KEY_PATH=circuli_key.jks" > signing.properties
- echo "KEY_PASSWORD=$KEY_PASSWORD" >> signing.properties
- echo "ALIAS_NAME=$ALIAS_NAME" >> signing.properties
- echo "$SERVICE_JSON" > google_play_api_key.json
- bundle exec fastlane deployGoogle
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment