mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-04 13:19:48 +03:00
build: fix bash conditional in pre-release upload check
This commit is contained in:
parent
9343e78454
commit
f11a1aedd8
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -158,7 +158,7 @@ jobs:
|
|||||||
- name: upload binary to bootstrap.urbit.org
|
- name: upload binary to bootstrap.urbit.org
|
||||||
if: env.DO_UPLOAD == 'true'
|
if: env.DO_UPLOAD == 'true'
|
||||||
run: |
|
run: |
|
||||||
if [ "once" -ne "$VERE_PACE" ]; then
|
if [ "once" != "$VERE_PACE" ]; then
|
||||||
version="$(cat ./pkg/urbit/version)"
|
version="$(cat ./pkg/urbit/version)"
|
||||||
else
|
else
|
||||||
version="${GITHUB_SHA:0:9}"
|
version="${GITHUB_SHA:0:9}"
|
||||||
@ -240,7 +240,7 @@ jobs:
|
|||||||
CLOUDSDK_PYTHON: ${{env.pythonLocation}}\python.exe
|
CLOUDSDK_PYTHON: ${{env.pythonLocation}}\python.exe
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [ "once" -ne "$VERE_PACE" ]; then
|
if [ "once" != "$VERE_PACE" ]; then
|
||||||
version="$(cat ./pkg/urbit/version)"
|
version="$(cat ./pkg/urbit/version)"
|
||||||
else
|
else
|
||||||
version="${GITHUB_SHA:0:9}"
|
version="${GITHUB_SHA:0:9}"
|
||||||
@ -275,7 +275,7 @@ jobs:
|
|||||||
- name: update latest deployed version
|
- name: update latest deployed version
|
||||||
if: env.DO_UPLOAD == 'true'
|
if: env.DO_UPLOAD == 'true'
|
||||||
run: |
|
run: |
|
||||||
if [ "once" -ne "$VERE_PACE" ]; then
|
if [ "once" != "$VERE_PACE" ]; then
|
||||||
version="$(cat ./pkg/urbit/version)"
|
version="$(cat ./pkg/urbit/version)"
|
||||||
else
|
else
|
||||||
version="${GITHUB_SHA:0:9}"
|
version="${GITHUB_SHA:0:9}"
|
||||||
|
Loading…
Reference in New Issue
Block a user