Skip to content

Commit 1875b4b

Browse files
Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 (#736)
* 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]> * Update goreleaser config --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luca Comellini <[email protected]>
1 parent 657ac5e commit 1875b4b

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177
if: github.ref_type == 'tag'
178178

179179
- name: Run GoReleaser
180-
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
180+
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
181181
with:
182182
version: latest
183183
args: ${{ github.ref_type == 'tag' && 'release' || 'build --snapshot' }} ${{ github.event_name == 'pull_request' && '--single-target' || '' }} --clean

.goreleaser.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
before:
23
hooks:
34
- ./scripts/completions.sh
@@ -34,10 +35,10 @@ builds:
3435
asmflags:
3536
- all=-trimpath={{.Env.GOPATH}}
3637
ldflags:
37-
- '-s -w -X github.com/prometheus/common/version.Version={{.Version}} -X github.com/prometheus/common/version.BuildDate={{.Date}} -X github.com/prometheus/common/version.Branch={{.Branch}} -X github.com/prometheus/common/version.BuildUser=goreleaser'
38+
- "-s -w -X github.com/prometheus/common/version.Version={{.Version}} -X github.com/prometheus/common/version.BuildDate={{.Date}} -X github.com/prometheus/common/version.Branch={{.Branch}} -X github.com/prometheus/common/version.BuildUser=goreleaser"
3839

3940
changelog:
40-
skip: true
41+
disable: true
4142

4243
archives:
4344
- format_overrides:
@@ -58,8 +59,8 @@ brews:
5859
- repository:
5960
owner: nginxinc
6061
name: homebrew-tap
61-
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
62-
folder: Formula
62+
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
63+
directory: Formula
6364
homepage: https://github.com/nginxinc/nginx-prometheus-exporter
6465
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
6566
license: Apache-2.0
@@ -75,7 +76,7 @@ signs:
7576
- cmd: cosign
7677
artifacts: checksum
7778
output: true
78-
certificate: '${artifact}.pem'
79+
certificate: "${artifact}.pem"
7980
args:
8081
- sign-blob
8182
- "--output-signature=${signature}"
@@ -86,17 +87,17 @@ signs:
8687
announce:
8788
slack:
8889
enabled: true
89-
channel: '#announcements'
90-
message_template: 'NGINX Prometheus Exporter {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}'
90+
channel: "#announcements"
91+
message_template: "NGINX Prometheus Exporter {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}"
9192

9293
milestones:
9394
- close: true
9495

9596
snapshot:
96-
name_template: 'edge'
97+
name_template: "edge"
9798

9899
snapcrafts:
99-
- name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
100+
- name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
100101
title: NGINX Prometheus Exporter
101102
summary: NGINX Prometheus Exporter for NGINX and NGINX Plus
102103
description: |
@@ -106,7 +107,7 @@ snapcrafts:
106107
grade: stable
107108
confinement: strict
108109
publish: true
109-
license: 'Apache-2.0'
110+
license: "Apache-2.0"
110111
apps:
111112
nginx-prometheus-exporter:
112113
command: nginx-prometheus-exporter
@@ -119,7 +120,7 @@ nix:
119120
repository:
120121
owner: nginxinc
121122
name: nur
122-
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
123+
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
123124
homepage: https://github.com/nginxinc/nginx-prometheus-exporter
124125
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
125126
license: asl20
@@ -139,7 +140,7 @@ winget:
139140
repository:
140141
owner: nginxinc
141142
name: winget-pkgs
142-
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
143+
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
143144
branch: "nginx-prometheus-exporter-{{.Version}}"
144145
pull_request:
145146
enabled: true
@@ -153,8 +154,8 @@ scoops:
153154
- repository:
154155
owner: nginxinc
155156
name: scoop-bucket
156-
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
157-
folder: bucket
157+
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
158+
directory: bucket
158159
homepage: https://github.com/nginxinc/nginx-prometheus-exporter
159160
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
160161
license: Apache-2.0

0 commit comments

Comments
 (0)