Explorar o código

Include a "base" directory, and minor filename format changes

jamesread %!s(int64=5) %!d(string=hai) anos
pai
achega
8ae91569b3
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      .goreleaser.yml

+ 3 - 2
.goreleaser.yml

@@ -37,9 +37,10 @@ archives:
 
     replacements:
       darwin: macOS
-      amd64: x86_64
 
-    name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
+    name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
+
+    wrap_in_directory: true
 
     format_overrides:
       - goos: windows