Skip to content

Commit

Permalink
Update github actions to use new github cli
Browse files Browse the repository at this point in the history
hub command is deprecated and replaced by new gh cli command
  • Loading branch information
berndocklin committed Nov 28, 2023
1 parent de3775c commit f97a258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
cd package-${RELEASE_VERSION}
assets=()
for asset in *.{gz,zip}; do
assets+=("-a" "$asset")
assets+=("$asset")
done
hub release create "${assets[@]}" -m "v$RELEASE_VERSION" "v$RELEASE_VERSION"
gh release create "v$RELEASE_VERSION" "${assets[@]}" -n "v$RELEASE_VERSION"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f97a258

Please sign in to comment.