3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-22 00:19:31 +01:00

Try pre-creating tag

This commit is contained in:
David Tolnay 2022-06-29 07:26:13 -07:00
parent 85cdb5ee73
commit dd191651d5
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -39,11 +39,13 @@ jobs:
- 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 --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
with:
tag_name: ${{inputs.crate}}
target_commitish: ${{github.sha}}
target_commitish: ${{github.ref}}
files: |
${{steps.which.outputs.which}}
${{inputs.bin || inputs.crate}}.sig