We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e324195 commit d877379Copy full SHA for d877379
.travis.yml
@@ -20,7 +20,8 @@ before_install:
20
- openssl aes-256-cbc -K $encrypted_7aab63907238_key -iv $encrypted_7aab63907238_iv -in .yuuta.jks.enc -out .yuuta.jks -d
21
before_deploy:
22
- export VERSION=$(cat version.txt)
23
-- git tag $VERSION
+- export VERSION_CODE=$(version_code.txt)
24
+- git tag $VERSION_CODE
25
# Rename
26
- mv "app/build/outputs/apk/release/app-release.apk" "app/build/outputs/apk/release/app.apk"
27
deploy:
build.gradle
@@ -40,5 +40,6 @@ task exportVersion(type: Exec) {
40
commandLine 'sh'
41
doLast {
42
file("$projectDir/version.txt").text = """$version"""
43
+ file("$projectDir/version_code.txt").text = """${gitCommitCount}"""
44
}
45
0 commit comments