Procházet zdrojové kódy

goreleaser: Fix extra underscore in package names

Ask Bjørn Hansen před 4 roky
rodič
revize
043052f5e3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      .goreleaser.yml

+ 1 - 1
.goreleaser.yml

@@ -52,7 +52,7 @@ nfpms:
 
     # You can change the file name of the package.
     # Default: `{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}`
-    file_name_template: '{{ .ProjectName }}_{{ .Version }}{{ if index .Env "DRONE_BUILD_NUMBER" }}-{{ .Env.DRONE_BUILD_NUMBER }}{{ end }}._{{ .Os }}_{{ .Arch }}'
+    file_name_template: '{{ .ProjectName }}_{{ .Version }}{{ if index .Env "DRONE_BUILD_NUMBER" }}-{{ .Env.DRONE_BUILD_NUMBER }}{{ end }}_{{ .Os }}_{{ .Arch }}'
 
     vendor: NTP Pool Project
     homepage: https://www.ntppool.org/