parent
ed5a85be5f
commit
8102312ef0
|
@ -27,6 +27,9 @@ jobs:
|
||||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
passphrase: ${{ secrets.GPG_PASSPHRASE }}
|
||||||
|
|
||||||
|
- name: configure GPG TTY
|
||||||
|
run: export GPG_TTY=$(tty)
|
||||||
|
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v3.0.0
|
uses: goreleaser/goreleaser-action@v3.0.0
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -11,7 +11,7 @@ before:
|
||||||
- go generate ./...
|
- go generate ./...
|
||||||
signs:
|
signs:
|
||||||
- artifacts: checksum
|
- artifacts: checksum
|
||||||
args: ["--use-agent", "--armor", "--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
|
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
|
||||||
signature: "${artifact}.gpg"
|
signature: "${artifact}.gpg"
|
||||||
builds:
|
builds:
|
||||||
- id: "covermyass"
|
- id: "covermyass"
|
||||||
|
|
Loading…
Reference in New Issue