Skip to content

Commit

Permalink
Merge pull request #118 from rancher-sandbox/gh-release
Browse files Browse the repository at this point in the history
Switch from hub → gh to create release drafts
  • Loading branch information
jandubois authored Jan 14, 2024
2 parents 3aaea8b + 5783480 commit 20d2e0f
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@ jobs:
if: github.event_name != 'pull_request'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Note "folded" style; requires a blank line to insert actual newline
run: >
run: |
tag="${GITHUB_REF##*/}"
hub release create
-a iso/alpine-lima-std-${ALPINE_VERSION}-aarch64.iso
-a iso/alpine-lima-std-${ALPINE_VERSION}-aarch64.iso.sha512sum
-a iso/alpine-lima-std-${ALPINE_VERSION}-x86_64.iso
-a iso/alpine-lima-std-${ALPINE_VERSION}-x86_64.iso.sha512sum
-a iso/alpine-lima-rd-${ALPINE_VERSION}-aarch64.iso
-a iso/alpine-lima-rd-${ALPINE_VERSION}-aarch64.iso.sha512sum
-a iso/alpine-lima-rd-${ALPINE_VERSION}-x86_64.iso
-a iso/alpine-lima-rd-${ALPINE_VERSION}-x86_64.iso.sha512sum
-m "${tag}" --draft "${tag}"
gh release create --draft --title "${tag}" "${tag}" iso/alpine-lima-{std,rd}-*

0 comments on commit 20d2e0f

Please sign in to comment.