Skip to content

Commit

Permalink
Merge pull request #6 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
2023.07+dfsg-1
  • Loading branch information
AkihiroSuda committed Oct 12, 2023
2 parents e0190a6 + 4e601df commit 1946e71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,14 @@ 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)
- 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.
- - -
Expand All @@ -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/*
2 changes: 1 addition & 1 deletion extract.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1946e71

Please sign in to comment.