Skip to content

Commit

Permalink
build(deps): bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 (#110
Browse files Browse the repository at this point in the history
)

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

Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](goreleaser/goreleaser-action@5742e2a...286f3b1)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: Update goreleaser configuration to version 2 and adjust formatting

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Flad <[email protected]>
  • Loading branch information
dependabot[bot] and bflad authored Aug 4, 2024
1 parent b9aa2fe commit 470a065
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 57 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,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.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,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
101 changes: 48 additions & 53 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,63 +1,58 @@
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 Documentation Tool
directory: Formula
repository:
owner: bflad
name: homebrew-tap
homepage: https://github.com/bflad/tfproviderdocs
install: |
bin.install "tfproviderdocs"
test: |
system "#{bin}/tfproviderdocs -v"
- dependencies:
- go
description: Terraform Provider Documentation Tool
directory: Formula
repository:
owner: bflad
name: homebrew-tap
homepage: https://github.com/bflad/tfproviderdocs
install: |
bin.install "tfproviderdocs"
test: |
system "#{bin}/tfproviderdocs -v"
builds:
-
env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
- 386
ldflags:
- -s -w -X github.com/bflad/tfproviderdocs/version.Version={{.Version}} -X github.com/bflad/tfproviderdocs/version.VersionPrerelease=
main: .
- env:
- CGO_ENABLED=0
goos:
- darwin
- windows
- linux
goarch:
- amd64
- arm64
- 386
ldflags:
- -s -w -X github.com/bflad/tfproviderdocs/version.Version={{.Version}} -X github.com/bflad/tfproviderdocs/version.VersionPrerelease=
main: .
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/tfproviderdocs:{{ .Version }}'
- 'bflad/tfproviderdocs:{{ .Major }}.{{ .Minor }}'
- 'bflad/tfproviderdocs: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/tfproviderdocs:{{ .Version }}'
- 'bflad/tfproviderdocs:{{ .Major }}.{{ .Minor }}'
- 'bflad/tfproviderdocs: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}"

0 comments on commit 470a065

Please sign in to comment.