From 660563d8c0c08d69c5fc8a25c993702d6e7f8da2 Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Wed, 25 Oct 2023 14:51:25 +0200 Subject: [PATCH] Release action: fix asset upload (#55) --- .github/workflows/build-binary-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-binary-package.yml b/.github/workflows/build-binary-package.yml index 663799d..7ed0131 100644 --- a/.github/workflows/build-binary-package.yml +++ b/.github/workflows/build-binary-package.yml @@ -39,5 +39,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | tag_name="${GITHUB_REF##*/}" - # this will find the $PROGRAM_NAME-vendor.tar.xz file as well - hub release edit $(find . -name "$PROGRAM_NAME*" -maxdepth 1 -printf "-a %p ") -a vendor.tgz -m "" "$tag_name" + # this will upload the $PROGRAM_NAME-vendor.tar.xz file as well + gh release upload "$tag_name" $PROGRAM_NAME* vendor.tgz