Skip to content

Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 #736

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

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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
if: github.ref_type == 'tag'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
version: latest
args: ${{ github.ref_type == 'tag' && 'release' || 'build --snapshot' }} ${{ github.event_name == 'pull_request' && '--single-target' || '' }} --clean
Expand Down
29 changes: 15 additions & 14 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- ./scripts/completions.sh
Expand Down Expand Up @@ -34,10 +35,10 @@ builds:
asmflags:
- all=-trimpath={{.Env.GOPATH}}
ldflags:
- '-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'
- "-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"

changelog:
skip: true
disable: true

archives:
- format_overrides:
Expand All @@ -58,8 +59,8 @@ brews:
- repository:
owner: nginxinc
name: homebrew-tap
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
folder: Formula
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
directory: Formula
homepage: https://github.com/nginxinc/nginx-prometheus-exporter
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
license: Apache-2.0
Expand All @@ -75,7 +76,7 @@ signs:
- cmd: cosign
artifacts: checksum
output: true
certificate: '${artifact}.pem'
certificate: "${artifact}.pem"
args:
- sign-blob
- "--output-signature=${signature}"
Expand All @@ -86,17 +87,17 @@ signs:
announce:
slack:
enabled: true
channel: '#announcements'
message_template: 'NGINX Prometheus Exporter {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}'
channel: "#announcements"
message_template: "NGINX Prometheus Exporter {{ .Tag }} is out! Check it out: {{ .ReleaseURL }}"

milestones:
- close: true

snapshot:
name_template: 'edge'
name_template: "edge"

snapcrafts:
- name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
- name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
title: NGINX Prometheus Exporter
summary: NGINX Prometheus Exporter for NGINX and NGINX Plus
description: |
Expand All @@ -106,7 +107,7 @@ snapcrafts:
grade: stable
confinement: strict
publish: true
license: 'Apache-2.0'
license: "Apache-2.0"
apps:
nginx-prometheus-exporter:
command: nginx-prometheus-exporter
Expand All @@ -119,7 +120,7 @@ nix:
repository:
owner: nginxinc
name: nur
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
homepage: https://github.com/nginxinc/nginx-prometheus-exporter
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
license: asl20
Expand All @@ -139,7 +140,7 @@ winget:
repository:
owner: nginxinc
name: winget-pkgs
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
branch: "nginx-prometheus-exporter-{{.Version}}"
pull_request:
enabled: true
Expand All @@ -153,8 +154,8 @@ scoops:
- repository:
owner: nginxinc
name: scoop-bucket
token: '{{ .Env.NGINX_GITHUB_TOKEN }}'
folder: bucket
token: "{{ .Env.NGINX_GITHUB_TOKEN }}"
directory: bucket
homepage: https://github.com/nginxinc/nginx-prometheus-exporter
description: NGINX Prometheus Exporter for NGINX and NGINX Plus
license: Apache-2.0
Expand Down
Loading