diff --git a/.circleci/config.yml b/.circleci/config.yml index da6ae12..3ae8c81 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/.goreleaser.yml b/.goreleaser.yml index d543e20..00c3dc2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: nick.cabatoff+procexp@gmail.com - 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: nick.cabatoff+procexp@gmail.com + 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