Skip to content

Commit

Permalink
ci: release: migrate hub to gh
Browse files Browse the repository at this point in the history
Signed-off-by: Kohei Tokunaga <[email protected]>
  • Loading branch information
ktock committed Oct 12, 2023
1 parent 68e15fd commit 1a10b90
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF > ${GITHUB_WORKSPACE}/release-note.txt
${RELEASE_TAG}
(TBD)
## About the binaries
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1a10b90

Please sign in to comment.