Skip to content
Snippets Groups Projects
Commit 76231dc7 authored by Aleksandras Kostarevas's avatar Aleksandras Kostarevas
Browse files

Update CI

parent 5ba9a1be
No related branches found
No related tags found
No related merge requests found
...@@ -21,12 +21,18 @@ build: ...@@ -21,12 +21,18 @@ build:
- echo $VERSION_CODE $VERSION_NAME - echo $VERSION_CODE $VERSION_NAME
- ./setUpPropertiesCI.sh - ./setUpPropertiesCI.sh
script: script:
- gradle assembleRelease -s - gradle bundlePlaystoreRelease -s
- mv build/outputs/apk/release/latinime-release.apk ./keyboard-$VERSION_NAME.apk - gradle assembleStableRelease -s
- mv build/outputs/apk/stable/release/latinime-stable-release.apk ./keyboard-$VERSION_NAME.apk
- mv build/outputs/bundle/playstoreRelease/latinime-playstore-release.aab ./keyboard-playstore-$VERSION_NAME.aab
- touch VERSION_CODE_$VERSION_CODE.txt
- touch VERSION_NAME_$VERSION_NAME.txt
- echo "Keyboard $VERSION_NAME - https://gitlab.futo.org/alex/latinime/-/jobs/$CI_JOB_ID/artifacts/raw/keyboard-$VERSION_NAME.apk" - echo "Keyboard $VERSION_NAME - https://gitlab.futo.org/alex/latinime/-/jobs/$CI_JOB_ID/artifacts/raw/keyboard-$VERSION_NAME.apk"
- echo $VERSION_CODE $VERSION_NAME - echo $VERSION_CODE $VERSION_NAME
artifacts: artifacts:
name: "keyboard-$VERSION_NAME" name: "keyboard-$VERSION_NAME"
paths: paths:
- ./*.apk - ./*.apk
- ./*.aab
- ./*.txt
when: manual when: manual
\ No newline at end of file
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