mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 03:30:38 +00:00
chore: replace deprecated hub with gh for releases (#4839)
## Issue Addressed - The tool hub that is used to create draft releases has been removed as of October 2. See: https://github.com/actions/runner-images/issues/8362 - This change replaces `hub` usage in favour of [`gh`](https://cli.github.com/manual/gh_release_create) ## Proposed Changes - This change replaces `hub` usage in favour of [`gh`](https://cli.github.com/manual/gh_release_create) ## Additional Info Please provide any additional information. For example, future considerations or information useful for reviewers. Co-authored-by: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
parent
1de02f731b
commit
1c6356f8f3
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -282,9 +282,6 @@ jobs:
|
||||
| <img src="https://simpleicons.org/icons/docker.svg" style="width: 32px;"/> | Docker | [${{ env.VERSION }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}/tags?page=1&ordering=last_updated&name=${{ env.VERSION }}) | [${{ env.IMAGE_NAME }}](https://hub.docker.com/r/${{ env.IMAGE_NAME }}) |
|
||||
ENDBODY
|
||||
)
|
||||
assets=()
|
||||
for asset in ./lighthouse-*.tar.gz*; do
|
||||
assets+=("-a" "$asset/$asset")
|
||||
done
|
||||
assets=(./lighthouse-*.tar.gz*)
|
||||
tag_name="${{ env.VERSION }}"
|
||||
echo "$body" | hub release create --draft "${assets[@]}" -F "-" "$tag_name"
|
||||
echo "$body" | gh release create --draft -F "-" "$tag_name" "${assets[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user