Skip to content

Commit

Permalink
Add Goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
pteich committed Oct 17, 2024
1 parent 30f2f97 commit bbdae5a
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@
vendor
bin
dist
.goreleaser.yml

dist/
53 changes: 53 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
universal_binaries:
- replace: true
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm64
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
fpm:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
formats:
- deb
- rpm
- apk
- archlinux
dependencies:
- "bash"
maintainer: "Peter Teich <mail@peter-teich.de>"
vendor: "Peter Teich"
homepage: "https://github.com/pteich"
description: "Export Data from ElasticSearch to CSV/JSON using a Lucene Query (e.g. from Kibana) or a raw JSON Query string"
license: "MIT"
release:
draft: true
replace_existing_draft: true
replace_existing_artifacts: true

0 comments on commit bbdae5a

Please sign in to comment.