Skip to content

Commit

Permalink
Replace hub with gh
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Nov 11, 2020
1 parent 32aa8e5 commit fabc8a9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,9 @@ jobs:
set -x
assets=()
for asset in ./ext/*/*.dll; do
assets+=("-a" "$asset")
assets+=("$asset")
done
time=$(date '+%Y-%m-%d %H:%M:%S')
git push -f origin :1.0.0 || true
hub release delete "1.0.0" || true
hub release create "${assets[@]}" -m "$time" "1.0.0"
gh release delete "builds" -y || true
gh release create "builds" "${assets[@]}" -t "builds" -n "builds"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fabc8a9

Please sign in to comment.