Skip to content

Commit dbd1ec7

Browse files
committed
Use github.ref
1 parent f0d85ce commit dbd1ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/abi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
- name: Update version from tag
3636
working-directory: ./contracts/dist
3737
run: |
38-
VERSION="${${{ github.event.push.ref }}##*/v}"
39-
echo "Debugging ${{ github.event.push.ref }}"
38+
VERSION="${${{ github.ref }}##*/v}"
39+
echo "Debugging ${{ github.ref }}, $GITHUB_REF_NAME, $GITHUB_REF"
4040
echo "Version set to $VERSION"
4141
sed -i -e "s/RELEASE_VERSION/$VERSION/g" package.json
4242

0 commit comments

Comments
 (0)