mirror of
https://github.com/dtolnay/install.git
synced 2024-11-25 17:39:33 +01:00
Include version number in release body
This commit is contained in:
parent
b8dce30fba
commit
91e2064b20
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue