mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-11-04 06:52:39 +09:00 
			
		
		
		
	Fix deprecation warnings (#2558)
See https://goreleaser.com/deprecations/#archivesformat and https://goreleaser.com/deprecations/#nfpmsbuilds
This commit is contained in:
		@@ -36,7 +36,8 @@ builds:
 | 
				
			|||||||
archives:
 | 
					archives:
 | 
				
			||||||
  - id: golang-cross
 | 
					  - id: golang-cross
 | 
				
			||||||
    name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
 | 
					    name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
 | 
				
			||||||
    format: binary
 | 
					    formats:
 | 
				
			||||||
 | 
					      - binary
 | 
				
			||||||
 | 
					
 | 
				
			||||||
source:
 | 
					source:
 | 
				
			||||||
  enabled: true
 | 
					  enabled: true
 | 
				
			||||||
@@ -55,7 +56,7 @@ nfpms:
 | 
				
			|||||||
  # List file contents: dpkg -c dist/headscale...deb
 | 
					  # List file contents: dpkg -c dist/headscale...deb
 | 
				
			||||||
  # Package metadata: dpkg --info dist/headscale....deb
 | 
					  # Package metadata: dpkg --info dist/headscale....deb
 | 
				
			||||||
  #
 | 
					  #
 | 
				
			||||||
  - builds:
 | 
					  - ids:
 | 
				
			||||||
      - headscale
 | 
					      - headscale
 | 
				
			||||||
    package_name: headscale
 | 
					    package_name: headscale
 | 
				
			||||||
    priority: optional
 | 
					    priority: optional
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user