Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tokarchyn committed Jun 8, 2022
1 parent c6eb9a7 commit b4d5212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set package version
run: |
version=$(echo ${{github.event.client_payload.value}} | sed 's/v//g')
version=$(echo $GITHUB_REF | sed 's/v//g' | sed 's|refs/tags/||')
echo "Version to use $version"
sed -i "s|version.*|version\": \"$version\",|" lib/package/package.json
cat lib/package/package.json
Expand Down

0 comments on commit b4d5212

Please sign in to comment.