Skip to content

Commit

Permalink
Update to newer goreleaser file format and pin version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ncabatoff committed May 18, 2020
1 parent d14dfc6 commit 1ed3f1e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- checkout
- run: sudo apt-get -qq update
- run: sudo apt-get install -y rpm
- run: curl -sL https://git.io/goreleaser | bash
- run: curl -sL https://git.io/goreleaser | VERSION=v0.134.0 bash

release_image:
environment:
Expand Down
40 changes: 20 additions & 20 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@ builds:
- arm64
- ppc64
- ppc64le
archive:
name_template: "process-exporter-{{ .Version }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: true
nfpm:
homepage: https://github.com/ncabatoff/process-exporter
maintainer: [email protected]
description: Prometheus exporter to report on processes running
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
files:
"packaging/process-exporter.service": "/lib/systemd/system/process-exporter.service"
config_files:
"packaging/conf/all.yaml": "/etc/process-exporter/all.yaml"
scripts:
postinstall: "packaging/scripts/postinstall.sh"
postremove: "packaging/scripts/postremove.sh"
preremove: "packaging/scripts/preremove.sh"
archives:
- name_template: "process-exporter-{{ .Version }}.{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: true
nfpms:
- homepage: https://github.com/ncabatoff/process-exporter
maintainer: [email protected]
description: Prometheus exporter to report on processes running
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
files:
"packaging/process-exporter.service": "/lib/systemd/system/process-exporter.service"
config_files:
"packaging/conf/all.yaml": "/etc/process-exporter/all.yaml"
scripts:
postinstall: "packaging/scripts/postinstall.sh"
postremove: "packaging/scripts/postremove.sh"
preremove: "packaging/scripts/preremove.sh"
release:
github:
owner: ncabatoff
Expand Down

0 comments on commit 1ed3f1e

Please sign in to comment.