mirror of
https://github.com/dtolnay/install.git
synced 2024-11-22 08:29:30 +01:00
Try pre-creating tag
This commit is contained in:
parent
85cdb5ee73
commit
dd191651d5
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -39,11 +39,13 @@ jobs:
|
||||||
- run: gpg --output ${{inputs.bin || inputs.crate}}.sig --detach-sig ${{steps.which.outputs.which}}
|
- run: gpg --output ${{inputs.bin || inputs.crate}}.sig --detach-sig ${{steps.which.outputs.which}}
|
||||||
- run: gpg --output signing-key.gpg --dearmor signing-key.asc
|
- run: gpg --output signing-key.gpg --dearmor signing-key.asc
|
||||||
- run: gpg --no-default-keyring --keyring ./signing-key.gpg --verify ${{inputs.bin || inputs.crate}}.sig ${{steps.which.outputs.which}}
|
- run: gpg --no-default-keyring --keyring ./signing-key.gpg --verify ${{inputs.bin || inputs.crate}}.sig ${{steps.which.outputs.which}}
|
||||||
- run: git push origin :refs/tags/${{inputs.crate}} || true
|
- run: git tag -d ${{inputs.crate}} || true
|
||||||
|
- run: git tag ${{inputs.crate}}
|
||||||
|
- run: git push origin tag ${{inputs.crate}} --force
|
||||||
- uses: softprops/action-gh-release@v1
|
- uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
tag_name: ${{inputs.crate}}
|
tag_name: ${{inputs.crate}}
|
||||||
target_commitish: ${{github.sha}}
|
target_commitish: ${{github.ref}}
|
||||||
files: |
|
files: |
|
||||||
${{steps.which.outputs.which}}
|
${{steps.which.outputs.which}}
|
||||||
${{inputs.bin || inputs.crate}}.sig
|
${{inputs.bin || inputs.crate}}.sig
|
||||||
|
|
Loading…
Reference in a new issue