Skip to content

Commit

Permalink
fix: Fix goreleaser file
Browse files Browse the repository at this point in the history
  • Loading branch information
kianaza committed Jun 4, 2024
1 parent 72b47d7 commit 2988973
Showing 1 changed file with 13 additions and 50 deletions.
63 changes: 13 additions & 50 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,62 +1,25 @@
---
project_name: nats-blackbox-exporter

release:
draft: true
github:
owner: snappcloud
owner: snapp-incubator
name: nats-blackbox-exporter

name_template: 'Release {{.Tag}}'
checksum: {}

builds:
- main: ./cmd/nats-blackbox-exporter
id: nats-blackbox-exporter
binary: nats-blackbox-exporter
ldflags:
- "-s -w -X github.com/nats-io/nats-blackbox-exporter/cmd.Version={{ .Tag }}"
env:
- GO111MODULE=on
- CGO_ENABLED=0
- binary: gosimac
goos:
- linux
- darwin
- windows
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- amd64
main: ./cmd/nats-blackbox-exporter/main.go

archives:
- id: zipfiles
wrap_in_directory: true
name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
format: zip
files:
- README.md
- nats-blackbox-exporter*

nfpms:
- formats:
- deb
file_name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
}}v{{ .Arm }}{{ end }}'
bindir: /usr/local/bin
description: A Simplified Prometheus Monitoring Solution for NATS
vendor: nats.io
maintainer: Colin Sullivan <[email protected]>
homepage: https://nats.io
license: Apache 2.0

snapshot:
name_template: SNAPSHOT-{{ .Commit }}

checksum:
name_template: '{{ .ProjectName }}-v{{ .Version }}-checksums.txt'
- id: binary
format: binary
- id: default
format: tar.gz

0 comments on commit 2988973

Please sign in to comment.