From f11a1aedd888b2921074d30e0f84cfa9fd73a0d9 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 26 May 2022 11:12:38 -0400 Subject: [PATCH] build: fix bash conditional in pre-release upload check --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1818c684..e6fa575e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -158,7 +158,7 @@ jobs: - name: upload binary to bootstrap.urbit.org if: env.DO_UPLOAD == 'true' run: | - if [ "once" -ne "$VERE_PACE" ]; then + if [ "once" != "$VERE_PACE" ]; then version="$(cat ./pkg/urbit/version)" else version="${GITHUB_SHA:0:9}" @@ -240,7 +240,7 @@ jobs: CLOUDSDK_PYTHON: ${{env.pythonLocation}}\python.exe shell: bash run: | - if [ "once" -ne "$VERE_PACE" ]; then + if [ "once" != "$VERE_PACE" ]; then version="$(cat ./pkg/urbit/version)" else version="${GITHUB_SHA:0:9}" @@ -275,7 +275,7 @@ jobs: - name: update latest deployed version if: env.DO_UPLOAD == 'true' run: | - if [ "once" -ne "$VERE_PACE" ]; then + if [ "once" != "$VERE_PACE" ]; then version="$(cat ./pkg/urbit/version)" else version="${GITHUB_SHA:0:9}"