summaryrefslogtreecommitdiff
path: root/.goreleaser.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.goreleaser.yaml')
-rw-r--r--.goreleaser.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
new file mode 100644
index 0000000..b2061a5
--- /dev/null
+++ b/.goreleaser.yaml
@@ -0,0 +1,39 @@
+version: 1
+
+before:
+ hooks:
+ - go mod tidy
+env:
+ - CGO_ENABLED=0
+
+builds:
+ - binary: go-fis-api
+ id: go-fis-api
+ goos:
+ - linux
+ - darwin
+ - windows
+ goarch:
+ - amd64
+ - arm64
+ ldflags:
+ - -s -w -X "main.buildString={{ .Tag }} ({{ .ShortCommit }} {{ .Date }})"
+
+archives:
+ - format: tar.gz
+ files:
+ - README.md
+ - LICENSE
+ - .env.example
+ # use zip for windows archives
+ format_overrides:
+ - goos: windows
+ format: zip
+
+changelog:
+ sort: asc
+ filters:
+ exclude:
+ - "^docs:"
+ - "^test:"
+ - "^Initial trial"