Skip to content

Commit

Permalink
Include checksums into release archive
Browse files Browse the repository at this point in the history
  • Loading branch information
HanabishiRecca committed Jun 21, 2023
1 parent 2c3fa61 commit afa1a12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:

- name: Upload archive
run: |
cd "target/release"
ARCHIVE="${APP}-${VERSION}-${CARCH}.tar.xz"
tar -cvJf "${ARCHIVE}" -C "target/release" "${APP}"
sha256sum "${ARCHIVE}"
sha256sum "${APP}" > "sha256sums.txt"
tar -cvJf "${ARCHIVE}" "${APP}" "sha256sums.txt"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
Expand Down

0 comments on commit afa1a12

Please sign in to comment.