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

Fix different images

parent 576e9e66
No related branches found
No related tags found
No related merge requests found
...@@ -15,21 +15,30 @@ before_script: ...@@ -15,21 +15,30 @@ before_script:
- echo "ALIAS_NAME=${ALIAS_NAME}" >> signing.properties - echo "ALIAS_NAME=${ALIAS_NAME}" >> signing.properties
stages: stages:
- build
- release - release
- deploy - deploy
createGitlabRelease: buildFdroid:
stage: release stage: build
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules: rules:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
script: script:
- echo "Running the release job" - echo "Building F-Droid apk"
- bundle exec fastlane buildFdroid - bundle exec fastlane buildFdroid
artifacts: artifacts:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}" name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
paths: paths:
- app/build/outputs/apk/*.apk - app/build/outputs/apk/*.apk
createGitlabRelease:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG
script:
- echo "Running the release job"
needs: ["build"]
release: release:
tag_name: $CI_COMMIT_TAG tag_name: $CI_COMMIT_TAG
name: 'Version $CI_COMMIT_TAG' name: 'Version $CI_COMMIT_TAG'
......
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