From 5783480c5b4b2cfe41062adbfb17e107c79ca9f3 Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Sun, 14 Jan 2024 01:19:58 -0800 Subject: [PATCH] =?UTF-8?q?Switch=20from=20hub=20=E2=86=92=20gh=20to=20cre?= =?UTF-8?q?ate=20release=20drafts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Dubois --- .github/workflows/release.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f84fd51..cda3cb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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}-*