Skip to content

Commit

Permalink
Use github.ref
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed Aug 4, 2023
1 parent f0d85ce commit dbd1ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/abi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- name: Update version from tag
working-directory: ./contracts/dist
run: |
VERSION="${${{ github.event.push.ref }}##*/v}"
echo "Debugging ${{ github.event.push.ref }}"
VERSION="${${{ github.ref }}##*/v}"
echo "Debugging ${{ github.ref }}, $GITHUB_REF_NAME, $GITHUB_REF"
echo "Version set to $VERSION"
sed -i -e "s/RELEASE_VERSION/$VERSION/g" package.json
Expand Down

0 comments on commit dbd1ec7

Please sign in to comment.