Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

2023.07+dfsg-1 #6

Merged
merged 3 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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