Skip to content

Commit f1c8c34

Browse files
authored
Tweak release workflow (#17)
1 parent 896361a commit f1c8c34

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,10 @@ jobs:
1717
uses: actions/setup-go@v3
1818
with:
1919
go-version-file: 'go.mod'
20-
- name: Import GPG key
21-
id: import_gpg
22-
uses: crazy-max/ghaction-import-gpg@v5
23-
with:
24-
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
25-
passphrase: ${{ secrets.PASSPHRASE }}
2620
- name: Run GoReleaser
2721
uses: goreleaser/goreleaser-action@v3
2822
with:
29-
version: latest
23+
version: v1.11.2
3024
args: release --rm-dist
3125
env:
3226
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

.goreleaser.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ archives:
1818
format: zip
1919
files:
2020
- none*
21+
changelog:
22+
skip: true
2123
checksum:
2224
name_template: 'checksums.txt'
23-
signs:
24-
- artifacts: checksum
25-
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
25+
release:
26+
github:
27+
owner: terraform-linters
28+
name: tflint-ruleset-terraform
29+
draft: true
30+
snapshot:
31+
name_template: "{{ .Tag }}-dev"

0 commit comments

Comments
 (0)