Skip to content

Commit

Permalink
fix github release action
Browse files Browse the repository at this point in the history
use `gh release` instead of hub command
  • Loading branch information
Ajnasz committed Nov 21, 2023
1 parent d6d8fd1 commit fa7489a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ jobs:
- run: |
set -x
assets=()
for asset in build/*; do
assets+=("-a" "$asset")
done
tag_name="${GITHUB_REF##*/}"
hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
gh release create "$tag_name" build/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fa7489a

Please sign in to comment.