Publish SHA512 checksums for future releases
This commit is contained in:
parent
c7f9386c01
commit
44dee302c9
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user