Skip to content

Commit

Permalink
chore: fix using refname to publish version
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenlu committed May 21, 2024
1 parent eb38580 commit 2c8abad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
echo "tag=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
if [ -z "${{ github.event.inputs.version }}" ]; then
echo "tag=${{ github.ref }}" >> $GITHUB_OUTPUT
echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT
fi
- name: Set the package version
env:
Expand Down

0 comments on commit 2c8abad

Please sign in to comment.