Skip to content

Commit

Permalink
Fix buildkite release env variable checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
kollivier committed Apr 25, 2020
1 parent d61dfe2 commit a2bc0ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
steps:
- block: "Build dev APK?"
# Always run if this is a Kolibri release
if: build.env("LE_KOLIBRI_RELEASE") && build.env("LE_KOLIBRI_RELEASE") != "false"
if: build.env("LE_KOLIBRI_RELEASE") != "true"

- label: "Build dev APK"
command: ".buildkite/build.sh"
env: KOLIBRI_ANDROID_BUILD_MODE=dev

- block: "Build release APK?"
# Always run if this is a Kolibri release
if: build.env("LE_KOLIBRI_RELEASE") && build.env("LE_KOLIBRI_RELEASE") != "false"
if: build.env("LE_KOLIBRI_RELEASE") == "true"

- label: "Build Release APK :tada:"
command: ".buildkite/build.sh"
Expand Down

0 comments on commit a2bc0ae

Please sign in to comment.