Skip to content

Commit

Permalink
actions: add SHA256 checksums
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric committed Nov 2, 2024
1 parent 4ce8f61 commit 91c0451
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd debian/artifacts
for _f in mimic*.deb mimic*.ddeb; do sudo mv "$_f" "${{ matrix.distro.codename }}_$_f"; done
gh release upload $(sed 's|refs/tags/||' <(echo ${{ github.ref }})) *.deb *.ddeb
for _f in mimic*.deb mimic*.ddeb; do
sudo mv "$_f" "${{ matrix.distro.codename }}_$_f";
sha256sum "${{ matrix.distro.codename }}_$_f" > "../${{ matrix.distro.codename }}_$_f.sha256"
done
gh release upload $(sed 's|refs/tags/||' <(echo ${{ github.ref }})) *.deb *.ddeb ../*.deb.sha256 ../*.ddeb.sha256

0 comments on commit 91c0451

Please sign in to comment.