Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 #312

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ jobs:
run: |
sed -n -e "1{/# v/d;}" -e "2{/^$/d;}" -e "/# $(git describe --abbrev=0 --exclude="$(git describe --abbrev=0 --match='v*.*.*' --tags)" --match='v*.*.*' --tags)/q;p" CHANGELOG.md > RELEASE-NOTES.md
- name: goreleaser check
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
args: check
- name: goreleaser release
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
with:
go-version-file: 'go.mod'
- name: goreleaser check
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
args: check
- name: goreleaser build
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
args: build --snapshot
132 changes: 63 additions & 69 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,79 +1,73 @@
version: 2
archives:
-
format_overrides:
- goos: windows
format: zip
- format_overrides:
- goos: windows
format: zip
before:
hooks:
- go mod download
brews:
-
dependencies:
- go
description: Terraform Provider Linter
directory: Formula
repository:
owner: bflad
name: homebrew-tap
homepage: https://github.com/bflad/tfproviderlint
install: |
bin.install "tfproviderlint"
test: |
system "#{bin}/tfproviderlint -V"
- dependencies:
- go
description: Terraform Provider Linter
directory: Formula
repository:
owner: bflad
name: homebrew-tap
homepage: https://github.com/bflad/tfproviderlint
install: |
bin.install "tfproviderlint"
test: |
system "#{bin}/tfproviderlint -V"
builds:
-
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- 386
- arm64
ldflags:
- -s -w -X github.com/bflad/tfproviderlint/version.Version={{.Version}} -X github.com/bflad/tfproviderlint/version.VersionPrerelease= -X github.com/bflad/tfproviderlint/version.GitCommit={{.ShortCommit}}
main: ./cmd/tfproviderlint
-
binary: tfproviderlintx
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- 386
- arm64
id: tfproviderlintx
ldflags:
- -s -w -X github.com/bflad/tfproviderlint/version.Version={{.Version}} -X github.com/bflad/tfproviderlint/version.VersionPrerelease= -X github.com/bflad/tfproviderlint/version.GitCommit={{.ShortCommit}}
main: ./cmd/tfproviderlintx
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- 386
- arm64
ldflags:
- -s -w -X github.com/bflad/tfproviderlint/version.Version={{.Version}} -X github.com/bflad/tfproviderlint/version.VersionPrerelease= -X github.com/bflad/tfproviderlint/version.GitCommit={{.ShortCommit}}
main: ./cmd/tfproviderlint
- binary: tfproviderlintx
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- 386
- arm64
id: tfproviderlintx
ldflags:
- -s -w -X github.com/bflad/tfproviderlint/version.Version={{.Version}} -X github.com/bflad/tfproviderlint/version.VersionPrerelease= -X github.com/bflad/tfproviderlint/version.GitCommit={{.ShortCommit}}
main: ./cmd/tfproviderlintx
changelog:
skip: true
disable: true
dockers:
-
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
image_templates:
- 'bflad/tfproviderlint:{{ .Version }}'
- 'bflad/tfproviderlint:{{ .Major }}.{{ .Minor }}'
- 'bflad/tfproviderlint:latest'
- build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
image_templates:
- 'bflad/tfproviderlint:{{ .Version }}'
- 'bflad/tfproviderlint:{{ .Major }}.{{ .Minor }}'
- 'bflad/tfproviderlint:latest'
milestones:
-
close: true
- close: true
signs:
-
artifacts: checksum
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
- artifacts: checksum
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"