Skip to content

Commit b6797b8

Browse files
authored
Use git rev-parse to get master version (#78)
Blocked on: runtimeverification/devops#234 Blocked on: runtimeverification/mir-semantics#561 This uses `git rev-parse` instead of relying on github action variables to get the version to push, as the prior attempt didn't end up including the label.
1 parent bf7226a commit b6797b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/master.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: 'Update dependents'
2424
run: |
2525
set -x
26-
VERSION=${{ github.event.push.head.sha }}
26+
VERSION=$(git rev-parse HEAD)
2727
curl --fail \
2828
-X POST \
2929
-H "Accept: application/vnd.github+json" \

0 commit comments

Comments
 (0)