Skip to content

Commit

Permalink
update Create Release using gh
Browse files Browse the repository at this point in the history
  • Loading branch information
metskem committed Mar 8, 2024
1 parent ff8f647 commit b379f3a
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/test-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,12 @@ jobs:
with:
name: dist
path: dist
- name: Create Release using hub
- name: Create Release using gh
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
asset_file_list=()
for f in dist/*
do
asset_file_list+=("-a" "${f}")
done
tag_name=${VERSION}
hub release create "${asset_file_list[@]}" -m "Release $tag_name" "$tag_name"
with:
body: "Release ${{ env.VERSION }}"
files: dist/*
tag_name: ${{ env.VERSION }}

0 comments on commit b379f3a

Please sign in to comment.