mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-29 11:10:35 +02:00
Include build date in version set by Travis
This commit is contained in:
@@ -21,7 +21,7 @@ before_script:
|
|||||||
- sed -i -r
|
- sed -i -r
|
||||||
-e 's/applicationId "[^"]+/\0.dev/'
|
-e 's/applicationId "[^"]+/\0.dev/'
|
||||||
-e 's/(versionCode ).*/\1'$(date +%s)'/'
|
-e 's/(versionCode ).*/\1'$(date +%s)'/'
|
||||||
-e 's/versionName "[^"]+/\0-dev_'${TRAVIS_COMMIT:0:8}'/'
|
-e 's/versionName "[^"]+/\0-dev_'${TRAVIS_COMMIT:0:8}_$(date +%F)'/'
|
||||||
android_app/app/build.gradle
|
android_app/app/build.gradle
|
||||||
- sed -i -r
|
- sed -i -r
|
||||||
-e 's/(<string name="app_name"[^>]*>[^<]+)/\1 (dev)/'
|
-e 's/(<string name="app_name"[^>]*>[^<]+)/\1 (dev)/'
|
||||||
|
Reference in New Issue
Block a user