Skip to content

Commit

Permalink
Use GH ci instead of HUB cli
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdt-rabobank committed Oct 26, 2023
1 parent 7fc6ec9 commit a4aa46d
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 @@ -62,16 +62,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/*


0 comments on commit a4aa46d

Please sign in to comment.