diff --git a/.github/workflows/shared.yml b/.github/workflows/shared.yml index 2eed6f3fd8..c95a764412 100644 --- a/.github/workflows/shared.yml +++ b/.github/workflows/shared.yml @@ -71,6 +71,7 @@ jobs: echo swapon --show echo + echo $(sed -nr 's/const VERSION = "(.*)"\;/\1/p' build.zig)-$(git rev-parse --short HEAD) - uses: mlugg/setup-zig@v1 with: @@ -199,7 +200,7 @@ jobs: - name: Upload latest deployed version string to GCP run: | echo "${{ inputs.pace }}" > ./PACE - echo $(sed -nr 's/#define URBIT_VERSION "(.*)"/\1/p' zig-out/include/version.h) > ./VERSION + echo $(sed -nr 's/const VERSION = "(.*)"\;/\1/p' build.zig)-$(git rev-parse --short HEAD) > ./VERSION if ${{ inputs.next != null }}; then next=$(echo "${{ inputs.next }}" | sed 's/[^0-9]//g')