Skip to content

Commit 0d5023b

Browse files
spacegospodtenthirtyam
authored andcommitted
chore(gh): goreleaser v2 configuration (#187)
Fixes the configuration for goreleaser v2 (6.0.0) per the upgrade guide. Signed-off-by: Stoyan Zhelyazkov <[email protected]>
1 parent b48744a commit 0d5023b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Diff for: .github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: release
22
on:
3+
workflow_dispatch:
34
push:
45
tags:
56
- 'v*'
@@ -33,8 +34,8 @@ jobs:
3334
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
3435
with:
3536
version: latest
36-
args: release --rm-dist --release-header .goreleaser.tmpl
37+
args: release --clean --release-header .goreleaser.tmpl
3738
env:
3839
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
3940
# GitHub sets this automatically
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Diff for: .goreleaser.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
before:
24
hooks:
35
# this is just an example and not a requirement for provider building/publishing
@@ -55,4 +57,4 @@ release:
5557
# If you want to manually examine the release before its live, uncomment this line:
5658
# draft: true
5759
changelog:
58-
skip: true
60+
disable: true

Diff for: go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IU
222222
github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok=
223223
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
224224
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
225-
github.com/vmware/vcf-sdk-go v0.3.1 h1:pPsO/ILzQFCWiAf47Mx7q+GBtDgwm7hn4CtXoS3J4w0=
226-
github.com/vmware/vcf-sdk-go v0.3.1/go.mod h1:EXM19ZwD2qmvMVSvgUzcnT7dSTCq3lzv84ErrFPZm1Q=
227225
github.com/vmware/vcf-sdk-go v0.3.2 h1:WhmIs7Xx4NePg2/VgaFBBfjZ7NG0W9W8+JmvWey59HU=
228226
github.com/vmware/vcf-sdk-go v0.3.2/go.mod h1:EXM19ZwD2qmvMVSvgUzcnT7dSTCq3lzv84ErrFPZm1Q=
229227
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=

0 commit comments

Comments
 (0)