mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Revert "release: cargo-binstall v1.4.0" and fix (#1398)
* Revert "release: cargo-binstall v1.4.0 (#1397)"
This reverts commit 99e8256018
.
* --allow-dirty on publish
* Remove private key file after generation
* Write public key file to bin crate and to package
* Upload public key file to release
This commit is contained in:
parent
99e8256018
commit
49b37ff1e2
7 changed files with 44 additions and 4 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -61,8 +61,17 @@ jobs:
|
|||
env:
|
||||
crate: ${{ needs.info.outputs.crate }}
|
||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||
run: cargo publish -p "$crate"
|
||||
run: cargo publish -p "$crate" --allow-dirty
|
||||
- name: Upload public key to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
release_name: v${{ needs.info.outputs.version }}
|
||||
tag: v${{ needs.info.outputs.version }}
|
||||
body: ${{ needs.info.outputs.notes }}
|
||||
file: minisign.pub
|
||||
outputs:
|
||||
publickey: ${{ steps.keypair.outputs.public }}
|
||||
signingkey: ${{ steps.keypair.outputs.private }}
|
||||
|
||||
package:
|
||||
|
@ -73,5 +82,6 @@ jobs:
|
|||
uses: ./.github/workflows/release-build.yml
|
||||
with:
|
||||
publish: ${{ toJSON(needs.info.outputs) }}
|
||||
publickey: ${{ needs.clitag.publickey }}
|
||||
secrets:
|
||||
signingkey: ${{ needs.clitag.signingkey }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue