Skip to content

Commit 2b2737c

Browse files
committed
Fix release target
Signed-off-by: Pablo Chacin <pablochacin@gmail.com>
1 parent 7760d33 commit 2b2737c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ jobs:
200200
- name: get release version
201201
run: |
202202
VERSION=$GITHUB_REF_NAME
203+
VERSION_SHA=$GITHUB_SHA
203204
echo "VERSION=$VERSION" >> $GITHUB_ENV
204205
- name: Checkout code
205206
uses: actions/checkout@v4
@@ -222,5 +223,5 @@ jobs:
222223
for asset in ./dist/*; do
223224
assets+=("$asset")
224225
done
225-
gh release create "$VERSION" --target "$VERSION" -F "./releases/${VERSION}.md" "${assets[@]}"
226+
gh release create "$VERSION" --target "$VERSION_SHA" -F "./releases/${VERSION}.md" "${assets[@]}"
226227

0 commit comments

Comments
 (0)