aboutsummaryrefslogtreecommitdiffstats
path: root/.goreleaser.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.goreleaser.yaml')
-rw-r--r--.goreleaser.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml
new file mode 100644
index 0000000..aeaf84c
--- /dev/null
+++ b/.goreleaser.yaml
@@ -0,0 +1,37 @@
+# This is an example .goreleaser.yml file with some sensible defaults.
+# Make sure to check the documentation at https://goreleaser.com
+before:
+ hooks:
+ # You may remove this if you don't use go modules.
+ - go mod tidy
+ # you may remove this if you don't need go generate
+ - go generate ./...
+builds:
+ - main: ./golings
+ env:
+ - CGO_ENABLED=0
+ goos:
+ - linux
+ - windows
+ - darwin
+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:'
+
+# modelines, feel free to remove those if you don't want/use them:
+# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
+# vim: set ts=2 sw=2 tw=0 fo=cnqoj