Skip to content

Commit

Permalink
Fix release target
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Chacin <[email protected]>
  • Loading branch information
pablochacin committed Oct 30, 2023
1 parent 7760d33 commit 2b2737c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ jobs:
- name: get release version
run: |
VERSION=$GITHUB_REF_NAME
VERSION_SHA=$GITHUB_SHA
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -222,5 +223,5 @@ jobs:
for asset in ./dist/*; do
assets+=("$asset")
done
gh release create "$VERSION" --target "$VERSION" -F "./releases/${VERSION}.md" "${assets[@]}"
gh release create "$VERSION" --target "$VERSION_SHA" -F "./releases/${VERSION}.md" "${assets[@]}"

0 comments on commit 2b2737c

Please sign in to comment.