Skip to content

Commit e089fb2

Browse files
authored
Release action: fix asset upload (#94)
1 parent c6585dd commit e089fb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-binary-package.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ jobs:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
run: |
4141
tag_name="${GITHUB_REF##*/}"
42-
# this will find the $PROGRAM_NAME-vendor.tar.xz file as well
43-
hub release edit $(find . -name "$PROGRAM_NAME*" -maxdepth 1 -printf "-a %p ") -a vendor.tgz -m "" "$tag_name"
42+
# this will upload the $PROGRAM_NAME-vendor.tar.xz file as well
43+
gh release upload "$tag_name" $PROGRAM_NAME* vendor.tgz

0 commit comments

Comments
 (0)