mirror of
https://github.com/oliexdev/openScale.git
synced 2025-02-11 19:34:11 +01:00
Include commit in version when building on travis
This commit is contained in:
parent
1ccb717041
commit
8c00e661fe
@ -9,6 +9,11 @@ android:
|
||||
- android-26
|
||||
- extra-android-m2repository
|
||||
|
||||
before_script:
|
||||
- sed -i -re 's/(versionName ".*)"/\1-dev_'${TRAVIS_COMMIT:0:8}'"/' android_app/app/build.gradle
|
||||
|
||||
script: cd android_app && ./gradlew testDebug assembleDebug
|
||||
|
||||
before_deploy:
|
||||
- ln -s app/build/outputs/apk/debug/app-debug.apk openScale-dev-build.apk
|
||||
- git tag -f travis-dev-build
|
||||
@ -28,5 +33,3 @@ deploy:
|
||||
target_commitish: $TRAVIS_COMMIT
|
||||
on:
|
||||
branch: travis
|
||||
|
||||
script: cd android_app && ./gradlew testDebug assembleDebug
|
||||
|
Loading…
x
Reference in New Issue
Block a user