From 1a10b909fdda6bf249000548ce4cac32f8c4999b Mon Sep 17 00:00:00 2001 From: Kohei Tokunaga Date: Thu, 12 Oct 2023 12:14:26 +0900 Subject: [PATCH] ci: release: migrate `hub` to `gh` Signed-off-by: Kohei Tokunaga --- .github/workflows/release.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72a06bb6..c4b1482c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,8 +32,6 @@ jobs: FULL_TAR=$(ls -1 ${OUTPUT_DIR} | grep buildg-full | head -1) FULL_TAR_LIST=$(tar --list -vvf ${OUTPUT_DIR}/${FULL_TAR}) cat < ${GITHUB_WORKSPACE}/release-note.txt - ${RELEASE_TAG} - (TBD) ## About the binaries @@ -71,10 +69,7 @@ jobs: EOF ASSET_FLAGS=() ls -al ${OUTPUT_DIR}/ - for F in ${OUTPUT_DIR}/* ; do - ASSET_FLAGS+=("-a" "$F") - done - hub release create "${ASSET_FLAGS[@]}" -F ${GITHUB_WORKSPACE}/release-note.txt --draft "${RELEASE_TAG}" + gh release create -F ${GITHUB_WORKSPACE}/release-note.txt --draft --title "${RELEASE_TAG}" "${RELEASE_TAG}" ${OUTPUT_DIR}/* containerize: runs-on: ubuntu-22.04