From 9c5f8a8b17691c5d89fbc36ba135cf757b3c79ca Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Sat, 14 Jun 2025 03:15:23 -0700 Subject: [PATCH] Update GoReleaser configurations Signed-off-by: Emmanuel Ferdman --- v2/.goreleaser.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 }}'