Skip to content

Commit

Permalink
Merge pull request #188 from ktock/ci-hub-gh
Browse files Browse the repository at this point in the history
ci: release: migrate `hub` to `gh`
  • Loading branch information
ktock authored Oct 12, 2023
2 parents 68e15fd + 1a10b90 commit 3243903
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 3243903

Please sign in to comment.