From 0d741a0d79eda8aeeced0313f439742fb50835e3 Mon Sep 17 00:00:00 2001 From: Toby Date: Sun, 27 Mar 2022 15:36:02 -0700 Subject: [PATCH] release: add hashes.txt --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 641ff78..81a8b0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,13 @@ jobs: package: cmd compress: false + - name: Generate hashes + run: | + cd dist + for f in $(find . -type f); do + sha256sum $f >> hashes.txt + done + - name: Upload uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') @@ -72,3 +79,4 @@ jobs: ./dist/hysteria-linux-arm ./dist/hysteria-linux-arm64 ./dist/hysteria-linux-mipsle + ./dist/hashes.txt