diff --git a/v2/.goreleaser.yml b/v2/.goreleaser.yml index 6e97216d6..867267d2e 100644 --- a/v2/.goreleaser.yml +++ b/v2/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + before: hooks: - go mod tidy @@ -25,7 +27,8 @@ builds: main: cmd/subfinder/main.go archives: -- format: zip +- formats: + - zip name_template: '{{ .ProjectName }}_{{ .Version }}_{{ if eq .Os "darwin" }}macOS{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}' checksum: @@ -40,4 +43,4 @@ announce: discord: enabled: true - message_template: '**New Release: {{ .ProjectName }} {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}' \ No newline at end of file + message_template: '**New Release: {{ .ProjectName }} {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}'