Skip to content

Commit

Permalink
chore(gh): goreleaser v2 configuration (#187)
Browse files Browse the repository at this point in the history
Fixes the configuration for goreleaser v2 (6.0.0) per the upgrade guide.

Signed-off-by: Stoyan Zhelyazkov <stoyan.zhelyazkov@broadcom.com>
  • Loading branch information
spacegospod authored and tenthirtyam committed Jun 12, 2024
1 parent b48744a commit 0d5023b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: release
on:
workflow_dispatch:
push:
tags:
- 'v*'
Expand Down Expand Up @@ -33,8 +34,8 @@ jobs:
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
version: latest
args: release --rm-dist --release-header .goreleaser.tmpl
args: release --clean --release-header .goreleaser.tmpl
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
# GitHub sets this automatically
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

before:
hooks:
# this is just an example and not a requirement for provider building/publishing
Expand Down Expand Up @@ -55,4 +57,4 @@ release:
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
skip: true
disable: true
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,6 @@ github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IU
github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok=
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
github.com/vmware/vcf-sdk-go v0.3.1 h1:pPsO/ILzQFCWiAf47Mx7q+GBtDgwm7hn4CtXoS3J4w0=
github.com/vmware/vcf-sdk-go v0.3.1/go.mod h1:EXM19ZwD2qmvMVSvgUzcnT7dSTCq3lzv84ErrFPZm1Q=
github.com/vmware/vcf-sdk-go v0.3.2 h1:WhmIs7Xx4NePg2/VgaFBBfjZ7NG0W9W8+JmvWey59HU=
github.com/vmware/vcf-sdk-go v0.3.2/go.mod h1:EXM19ZwD2qmvMVSvgUzcnT7dSTCq3lzv84ErrFPZm1Q=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
Expand Down

0 comments on commit 0d5023b

Please sign in to comment.