From b858e1988aeabf0b57307722be0b783f7738a2c6 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 06:08:22 +0900 Subject: [PATCH 1/3] release.yml: migrate from `hub` to `gh` Signed-off-by: Akihiro Suda --- .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 fa07a10..7f9518b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,8 @@ jobs: - run: (cd _artifacts; sha256sum SHA256SUMS) - name: "Prepare the release note" run: | - tag="${GITHUB_REF##*/}" shasha=$(sha256sum _artifacts/SHA256SUMS | awk '{print $1}') cat <<-EOF | tee /tmp/release-note.txt - ${tag} - The license (GPL-2.0) is included in the \`*.orig.tar.gz\` source archive. - - - @@ -38,6 +35,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | tag="${GITHUB_REF##*/}" - asset_flags=() - for f in _artifacts/*; do asset_flags+=("-a" "$f"); done - hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}" + gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" _artifacts/* From 4df54769b48f281795eed6d978cb9ae0d624e31c Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 06:08:49 +0900 Subject: [PATCH 2/3] release.yml: actions/checkout@v4 Signed-off-by: Akihiro Suda --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f9518b..3c7d175 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 timeout-minutes: 20 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: "./extract.sh" - run: cat _artifacts/SHA256SUMS - run: (cd _artifacts; sha256sum SHA256SUMS) From 4e601df2c6032c838eb43d6ef94522047c10e1a0 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 13 Oct 2023 06:09:25 +0900 Subject: [PATCH 3/3] 2023.07+dfsg-1 Signed-off-by: Akihiro Suda --- extract.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract.sh b/extract.sh index d081223..dbcf337 100755 --- a/extract.sh +++ b/extract.sh @@ -1,7 +1,7 @@ #!/bin/bash set -eux -o pipefail -VERSION="2023.04+dfsg-1" +VERSION="2023.07+dfsg-1" CURL="curl -O -fsSL" mkdir _artifacts