فهرست منبع

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

jamesread 5 سال پیش
والد
کامیت
8ae91569b3
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  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