Skip to content

Commit f0d85ce

Browse files
committed
Try different expression
1 parent 04a4d24 commit f0d85ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/abi.yml

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

0 commit comments

Comments
 (0)