Skip to content

Commit

Permalink
ci: fix latest deployed version string
Browse files Browse the repository at this point in the history
  • Loading branch information
ripperi committed Oct 8, 2024
1 parent f92fc1d commit 7ca38c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 7ca38c6

Please sign in to comment.