mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Fix issue with bad versionCode generated by Buildkite (#553)
This commit is contained in:
parent
f2c8d4ad02
commit
618e9a4f52
2 changed files with 12 additions and 4 deletions
|
@ -13,13 +13,14 @@ Other changes:
|
||||||
Bugfix:
|
Bugfix:
|
||||||
- Fix crash due to missing informationData (#535)
|
- Fix crash due to missing informationData (#535)
|
||||||
- Progress in initial sync dialog is decreasing for a step and should not (#532)
|
- Progress in initial sync dialog is decreasing for a step and should not (#532)
|
||||||
|
- Fix rendering issue of accepted third party invitation event
|
||||||
|
|
||||||
Translations:
|
Translations:
|
||||||
-
|
-
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
- Fix issue with version name (#533)
|
- Fix issue with version name (#533)
|
||||||
- Fix rendering issue of accepted third party invitation event
|
- Fix issue with bad versionCode generated by Buildkite (#553)
|
||||||
|
|
||||||
Changes in RiotX 0.4.0 (2019-XX-XX)
|
Changes in RiotX 0.4.0 (2019-XX-XX)
|
||||||
===================================================
|
===================================================
|
||||||
|
|
|
@ -51,8 +51,15 @@ static def gitRevisionDate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
static def gitBranchName() {
|
static def gitBranchName() {
|
||||||
|
def fromEnv = System.env.BUILDKITE_BRANCH as String ?: ""
|
||||||
|
|
||||||
|
if (!fromEnv.isEmpty()) {
|
||||||
|
return fromEnv
|
||||||
|
} else {
|
||||||
|
// Note: this command return "HEAD" on Buildkite, so use the system env 'BUILDKITE_BRANCH' content first
|
||||||
def cmd = "git rev-parse --abbrev-ref HEAD"
|
def cmd = "git rev-parse --abbrev-ref HEAD"
|
||||||
return cmd.execute().text.trim()
|
return cmd.execute().text.trim()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static def getVersionSuffix() {
|
static def getVersionSuffix() {
|
||||||
|
@ -75,7 +82,7 @@ project.android.buildTypes.all { buildType ->
|
||||||
// 64 bits have greater value than 32 bits
|
// 64 bits have greater value than 32 bits
|
||||||
ext.abiVersionCodes = ["armeabi-v7a": 1, "arm64-v8a": 2, "x86": 3, "x86_64": 4].withDefault { 0 }
|
ext.abiVersionCodes = ["armeabi-v7a": 1, "arm64-v8a": 2, "x86": 3, "x86_64": 4].withDefault { 0 }
|
||||||
|
|
||||||
def buildNumber = System.getenv("BUILDKITE_BUILD_NUMBER") as Integer ?: 0
|
def buildNumber = System.env.BUILDKITE_BUILD_NUMBER as Integer ?: 0
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion 28
|
||||||
|
|
Loading…
Add table
Reference in a new issue