build: updates base deploy url, uses truncated commit hash as version
@@ -73,7 +73,7 @@ env:
inputs.upload ||
(github.ref_name == 'next/vere' && github.ref_type == 'branch')
}}
- UPLOAD_BASE: bootstrap.urbit.org/ci/vere/often
+ UPLOAD_BASE: bootstrap.urbit.org/vere/often
jobs:
urbit:
@@ -122,10 +122,12 @@ jobs:
- name: upload binary to bootstrap.urbit.org
if: env.DO_UPLOAD == 'true'
run: |
- version="$(cat ./pkg/urbit/version)"
+ # version="$(cat ./pkg/urbit/version)"
+ version="${GITHUB_SHA:0:9}"
system="$(nix-instantiate --eval --expr 'builtins.currentSystem')"
system=${system:1:${#system}-2}
- target="gs://${UPLOAD_BASE}/${GITHUB_SHA:0:9}/vere-v${version}-${system}"
+ # target="gs://${UPLOAD_BASE}/${GITHUB_SHA:0:9}/vere-v${version}-${system}"
+ target="gs://${UPLOAD_BASE}/${version}/vere-v${version}-${system}"
gsutil cp -n "${{ env.urbit_static }}/bin/urbit" "$target"
exitcode=$?
@@ -188,9 +190,11 @@ jobs:
CLOUDSDK_PYTHON: ${{env.pythonLocation}}\python.exe
shell: bash
run: |
- version="$(cat ./version)"
+ # version="$(cat ./version)"
+ version="${GITHUB_SHA:0:9}"
system="x86_64-windows"
- target="gs://${UPLOAD_BASE}/${GITHUB_SHA:0:9}/vere-v${version}-${system}.exe"
+ # target="gs://${UPLOAD_BASE}/${GITHUB_SHA:0:9}/vere-v${version}-${system}.exe"
+ target="gs://${UPLOAD_BASE}/${version}/vere-v${version}-${system}.exe"
gsutil cp -n ./build/urbit.exe "$target"
exitcode=$?
@@ -204,7 +208,7 @@ jobs:
after:
runs-on: ubuntu-latest
needs: [urbit, mingw]
- # disabled due to missing storage.objects.delete access
+ # XX disabled due to missing storage.objects.delete access
if: false
steps:
- uses: google-github-actions/setup-gcloud@v0.2.0
