build: fix bash conditional in pre-release upload check

This commit is contained in:
Joe Bryan 2022-05-26 11:12:38 -04:00
parent 9343e78454
commit f11a1aedd8

View File

@ -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}"