Skip to content

Commit

Permalink
Bump (and pin) goreleaser to v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Nov 20, 2021
1 parent d5f6336 commit 14451cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: v0.184.0
version: v1.0.0
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.githubToken }}
12 changes: 7 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dockers:
- docker.pkg.github.com/martin-helmich/prometheus-nginxlog-exporter/exporter:v{{ .Major }}
- docker.pkg.github.com/martin-helmich/prometheus-nginxlog-exporter/exporter:v{{ .Major }}.{{ .Minor }}
- docker.pkg.github.com/martin-helmich/prometheus-nginxlog-exporter/exporter:{{ .Tag }}
binaries:
ids:
- prometheus-nginxlog-exporter
goos: linux
goarch: amd64
Expand All @@ -46,9 +46,11 @@ nfpms:
dependencies:
- systemd
bindir: /usr/sbin
files:
res/package/prometheus-nginxlog-exporter.service: /lib/systemd/system/prometheus-nginxlog-exporter.service
config_files:
res/package/default-config.hcl: /etc/prometheus-nginxlog-exporter.hcl
contents:
- src: res/package/prometheus-nginxlog-exporter.service
dst: /lib/systemd/system/prometheus-nginxlog-exporter.service
- src: res/package/default-config.hcl
dst: /etc/prometheus-nginxlog-exporter.hcl
type: config|noreplace
scripts:
postinstall: res/package/scripts/postinstall.sh

0 comments on commit 14451cb

Please sign in to comment.