Fix (again) issue with bad versionCode generated by Buildkite (#553)

This commit is contained in:
Benoit Marty 2019-09-18 10:27:44 +02:00
parent bf42b73713
commit 3ffe2f7d40
2 changed files with 10 additions and 1 deletions

View File

@ -11,6 +11,9 @@ steps:
# gradle build is long # gradle build is long
queue: "medium" queue: "medium"
commands: commands:
# Workaround to set env variables from Buildkite. If we do not do that, the gradle script does not see the Buildkite env variables
- "export BUILDKITE_BRANCH=$BUILDKITE_BRANCH"
- "export BUILDKITE_BUILD_NUMBER=$BUILDKITE_BUILD_NUMBER"
- "./gradlew clean lintGplayRelease assembleGplayDebug --stacktrace" - "./gradlew clean lintGplayRelease assembleGplayDebug --stacktrace"
artifact_paths: artifact_paths:
- "vector/build/outputs/apk/gplay/debug/*.apk" - "vector/build/outputs/apk/gplay/debug/*.apk"
@ -25,6 +28,9 @@ steps:
# gradle build is long # gradle build is long
queue: "medium" queue: "medium"
commands: commands:
# Workaround to set env variables from Buildkite. If we do not do that, the gradle script does not see the Buildkite env variables
- "export BUILDKITE_BRANCH=$BUILDKITE_BRANCH"
- "export BUILDKITE_BUILD_NUMBER=$BUILDKITE_BUILD_NUMBER"
- "./gradlew clean lintFdroidRelease assembleFdroidDebug --stacktrace" - "./gradlew clean lintFdroidRelease assembleFdroidDebug --stacktrace"
artifact_paths: artifact_paths:
- "vector/build/outputs/apk/fdroid/debug/*.apk" - "vector/build/outputs/apk/fdroid/debug/*.apk"
@ -39,6 +45,9 @@ steps:
# gradle build is long # gradle build is long
queue: "medium" queue: "medium"
commands: commands:
# Workaround to set env variables from Buildkite. If we do not do that, the gradle script does not see the Buildkite env variables
- "export BUILDKITE_BRANCH=$BUILDKITE_BRANCH"
- "export BUILDKITE_BUILD_NUMBER=$BUILDKITE_BUILD_NUMBER"
- "./gradlew clean assembleGplayRelease --stacktrace" - "./gradlew clean assembleGplayRelease --stacktrace"
artifact_paths: artifact_paths:
- "vector/build/outputs/apk/gplay/release/*.apk" - "vector/build/outputs/apk/gplay/release/*.apk"

View File

@ -17,7 +17,7 @@ Translations:
- -
Build: Build:
- - Fix (again) issue with bad versionCode generated by Buildkite (#553)
Changes in RiotX 0.5.0 (2019-09-17) Changes in RiotX 0.5.0 (2019-09-17)
=================================================== ===================================================