Publish SHA512 checksums for future releases

This commit is contained in:
Spike 2021-03-27 20:11:05 +00:00 committed by GitHub
parent c7f9386c01
commit 44dee302c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,13 +34,18 @@ jobs:
echo "::set-output name=version::$(cargo metadata --format-version 1 --no-deps | jq .packages[0].version -r | sed 's/^/v/')" echo "::set-output name=version::$(cargo metadata --format-version 1 --no-deps | jq .packages[0].version -r | sed 's/^/v/')"
echo "::set-output name=tag::${GITHUB_REF#refs/*/}" echo "::set-output name=tag::${GITHUB_REF#refs/*/}"
- name: Calculate SHA512 checksum
run: sha512sum target/release/libreddit > libreddit.sha512
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
tag_name: ${{ steps.version.outputs.version }} tag_name: ${{ steps.version.outputs.version }}
name: ${{ steps.version.outputs.version }} - NAME name: ${{ steps.version.outputs.version }} - NAME
draft: true draft: true
files: target/release/libreddit files: |
target/release/libreddit
libreddit.sha512
body: | body: |
- CHANGES - CHANGES