diff --git a/.gitignore b/.gitignore index 5444d11..fc2aabb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ .idea/ dist/ + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..e516d7f --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,22 @@ +before: + hooks: + - go mod tidy +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 + format: zip +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ incpatch .Version }}-next"