Commit 9b4fa534 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#858 Updated gitlab-ci to exclude non-release artifacts from release package.

parent fd564390
......@@ -30,30 +30,29 @@ pre-release:
paths:
- android/build/outputs/apk/*debug*.apk
- android/build/outputs/apk/*iTest*.apk
- ios/build/robovm/*debug*.ipa
- ios/build/robovm/*iTest*.ipa
- desktop/build/libs/*debug*.jar
- desktop/build/libs/*iTest*.jar
- desktop/build/libs/*debug*.deb
- desktop/build/outputs/*debug*.exe
- ios/build/robovm/*debug*.ipa
- ios/build/robovm/*iTest*.ipa
- desktop/build/outputApp/*debug*.app
debug:
stage: build
except:
- pre-release
- release
script:
- ./gradlew clean assemble -PTABLEXIA_ASSETS_UPLOAD=true
# - ./gradlew android:assemble -PTABLEXIA_ASSETS_UPLOAD=true
# - ./gradlew ios:assemble
- ./gradlew clean
- ./gradlew android:assemble -PTABLEXIA_ASSETS_UPLOAD=true
- ./gradlew ios:assemble
artifacts:
expire_in: 2 weeks
paths:
# - android/build/outputs/apk/*debug*.apk
# - desktop/build/libs/*debug*.jar
- desktop/build/outputApp/*debug*.app
# - desktop/build/outputs/*debug*.exe
# - desktop/build/libs/*debug*.deb
- android/build/outputs/apk/*debug*.apk
- android/build/outputs/apk/*iTest*.apk
- ios/build/robovm/*debug*.ipa
- ios/build/robovm/*iTest*.ipa
unitTest:
stage: unitTest
script:
......@@ -76,18 +75,9 @@ release:
- ./gradlew clean assemble -PTABLEXIA_ASSETS_UPLOAD=true
artifacts:
paths:
- android/build/outputs/apk/*debug*.apk
- android/build/outputs/apk/*iTest*.apk
- android/build/outputs/apk/*release*.apk
- desktop/build/libs/*debug*.jar
- desktop/build/libs/*iTest*.jar
- ios/build/robovm/*release*.ipa
- desktop/build/libs/*release*.jar
- desktop/build/libs/*debug*.deb
- desktop/build/libs/*release*.deb
- desktop/build/outputs/*debug*.exe
- desktop/build/outputs/*release*.exe
- ios/build/robovm/*debug*.ipa
- desktop/build/outputApp/*debug*.app
- desktop/build/outputApp/*release*.app
- ios/build/robovm/*iTest*.ipa
- ios/build/robovm/*release*.ipa
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment