Skip to content

Commit

Permalink
Merge pull request #7225 from fidencio/topic/stable-3.1-gha-release-f…
Browse files Browse the repository at this point in the history
…ix-hub-download

stable-3.1 | gha: release: Use a specific release of hub
  • Loading branch information
bergwolf committed Jul 4, 2023
2 parents 3cae94e + 100e9c4 commit ee57732
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Expand Up @@ -119,8 +119,7 @@ jobs:
name: kata-static-tarball
- name: install hub
run: |
HUB_VER=$(curl -s "https://api.github.com/repos/github/hub/releases/latest" | jq -r .tag_name | sed 's/^v//')
wget -q -O- https://github.com/github/hub/releases/download/v$HUB_VER/hub-linux-amd64-$HUB_VER.tgz | \
wget -q -O- https://github.com/mislav/hub/releases/download/v2.14.2/hub-linux-amd64-2.14.2.tgz | \
tar xz --strip-components=2 --wildcards '*/bin/hub' && sudo mv hub /usr/local/bin/hub
- name: push static tarball to github
run: |
Expand Down

0 comments on commit ee57732

Please sign in to comment.