Skip to content

Commit

Permalink
chore(deps): update goreleaser/goreleaser-action action to v6 (#89)
Browse files Browse the repository at this point in the history
* chore(deps): update goreleaser/goreleaser-action action to v6

* fix goreleaser config for v2

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Charles Treatman <[email protected]>
  • Loading branch information
renovate[bot] and ctreatma authored Aug 21, 2024
1 parent 3e35535 commit 8517e63
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
version: v1.56
-
name: Check GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
go-version: 1.22
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
Expand Down
119 changes: 60 additions & 59 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,65 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
version: 2
before:
hooks:
- go mod download
- go mod download
builds:
- id: docker-machine-driver-metal
env:
- CGO_ENABLED=0
- GO111MODULE=on
binary: docker-machine-driver-metal
ldflags:
- -s -w -X github.com/equinix/docker-machine-driver-metal/pkg/drivers/metal.version={{.Version}}
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- id: docker-machine-driver-packet
env:
- CGO_ENABLED=0
- GO111MODULE=on
binary: docker-machine-driver-packet
ldflags:
- -s -w -X github.com/equinix/docker-machine-driver-metal/pkg/drivers/metal.version={{.Version}}
- -s -w -X github.com/equinix/docker-machine-driver-metal/pkg/drivers/metal.driverName=packet
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- id: docker-machine-driver-metal
env:
- CGO_ENABLED=0
- GO111MODULE=on
binary: docker-machine-driver-metal
ldflags:
- -s -w -X github.com/equinix/docker-machine-driver-metal/pkg/drivers/metal.version={{.Version}}
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
- id: docker-machine-driver-packet
env:
- CGO_ENABLED=0
- GO111MODULE=on
binary: docker-machine-driver-packet
ldflags:
- -s -w -X github.com/equinix/docker-machine-driver-metal/pkg/drivers/metal.version={{.Version}}
- -s -w -X github.com/equinix/docker-machine-driver-metal/pkg/drivers/metal.driverName=packet
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: windows
goarch: arm
- goos: windows
goarch: arm64
- goos: darwin
goarch: arm64
- goos: darwin
goarch: arm
archives:
- name_template: "{{ .Binary }}_{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: zip
Expand All @@ -73,10 +74,10 @@ checksum:
release:
name_template: "{{.ProjectName}}-v{{.Version}}"
snapshot:
name_template: "{{ .Tag }}-next"
version_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- "^docs:"
- "^test:"

0 comments on commit 8517e63

Please sign in to comment.