Skip to content

Commit

Permalink
use gh instead of deprecated hub to upload assets
Browse files Browse the repository at this point in the history
  • Loading branch information
nibbles83 committed Jun 28, 2024
1 parent b99bacf commit b7694ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
set -x
ls -l ./release/
assets=()
assets+=("-a" "./release/Altitude-Metrix-Wallet-mac-x64.dmg")
assets+=("-a" "./release/Altitude-Metrix-Wallet-linux-x64.AppImage")
assets+=("-a" "./release/Altitude-Metrix-Wallet-win32-x86.exe")
assets+=("-a" "./release/Altitude-Metrix-Wallet-win32-x64.exe")
assets+=("./release/Altitude-Metrix-Wallet-mac-x64.dmg")
assets+=("./release/Altitude-Metrix-Wallet-linux-x64.AppImage")
assets+=("./release/Altitude-Metrix-Wallet-win32-x86.exe")
assets+=("./release/Altitude-Metrix-Wallet-win32-x64.exe")
tag_name="${GITHUB_REF#refs/*/}"
hub release create "${assets[@]}" --draft=true -m "v$tag_name" "$tag_name"
gh release create "$tag_name" --draft=true --title "v$tag_name" "${assets[@]}"

0 comments on commit b7694ed

Please sign in to comment.