mirror of
https://github.com/dtolnay/install.git
synced 2024-11-29 11:29:32 +01:00
Merge pull request #2 from dtolnay/version
Include version number in release body
This commit is contained in:
commit
5579dcabc3
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}}
|
- run: cargo install --force ${{inputs.crate}} --bin ${{inputs.bin || inputs.crate}}
|
||||||
- id: which
|
- id: which
|
||||||
run: echo "::set-output name=which::$(which ${{inputs.bin || inputs.crate}})"
|
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
|
- run: echo "$PRIVATE_KEY" | gpg --import
|
||||||
env:
|
env:
|
||||||
PRIVATE_KEY: ${{secrets.private_key}}
|
PRIVATE_KEY: ${{secrets.private_key}}
|
||||||
|
@ -37,3 +39,4 @@ jobs:
|
||||||
${{steps.which.outputs.which}}
|
${{steps.which.outputs.which}}
|
||||||
${{inputs.bin || inputs.crate}}.sig
|
${{inputs.bin || inputs.crate}}.sig
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
|
body: ${{steps.version.outputs.version}}
|
||||||
|
|
Loading…
Reference in a new issue