3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-25 09:29:33 +01:00

Include version number in release body

This commit is contained in:
David Tolnay 2021-11-17 11:41:27 -08:00
parent b8dce30fba
commit 91e2064b20
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -23,6 +23,8 @@ jobs:
- run: cargo install --force ${{inputs.crate}} --bin ${{inputs.bin || inputs.crate}}
- id: which
run: echo "::set-output name=which::$(which ${{inputs.bin || inputs.crate}})"
- id: version
run: echo "::set-output name=version::$(cargo install --list | grep -o '^{{inputs.crate}} \([^ :]\)\+')"
- run: echo "$PRIVATE_KEY" | gpg --import
env:
PRIVATE_KEY: ${{secrets.private_key}}
@ -37,3 +39,4 @@ jobs:
${{steps.which.outputs.which}}
${{inputs.bin || inputs.crate}}.sig
fail_on_unmatched_files: true
body: ${{steps.version.outputs.version}}