diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e22129 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dist \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..5f3a81a --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,57 @@ +project_name: dnshunter + +before: + hooks: + - go mod download + +builds: + - + main: ./cmd/dnshunter/ + binary: dnshunter + goos: + - windows + - linux + - darwin + - freebsd + goarch: + - amd64 + - 386 + - arm + - arm64 + ignore: + - goos: darwin + goarch: 386 + - goos: darwin + goarch: arm + - goos: windows + goarch: 386 + - goos: windows + goarch: arm + - goos: windows + goarch: arm64 + - goos: freebsd + goarch: arm + +archives: + - + name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" + replacements: + darwin: macos + 386: i386 + wrap_in_directory: true + format: zip + +checksum: + name_template: "{{ .ProjectName }}_checksums.txt" + +changelog: + sort: desc + filters: + exclude: + - '^MERGE' + - "{{ .Tag }}" + +release: + github: + owner: 5amu + name: dnshunter \ No newline at end of file