add:.goreleaser.yml
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -33,3 +33,4 @@ caddywebp.go
 | 
			
		||||
go.mod
 | 
			
		||||
go.sum
 | 
			
		||||
index.html
 | 
			
		||||
dist
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										37
									
								
								.goreleaser.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								.goreleaser.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
			
		||||
# This is an example goreleaser.yaml file with some sane defaults.
 | 
			
		||||
# Make sure to check the documentation at http://goreleaser.com
 | 
			
		||||
before:
 | 
			
		||||
  hooks:
 | 
			
		||||
builds:
 | 
			
		||||
  - binary: caddy
 | 
			
		||||
    main: ./caddy/main.go
 | 
			
		||||
    goos:
 | 
			
		||||
      - windows
 | 
			
		||||
      - darwin
 | 
			
		||||
      - linux
 | 
			
		||||
      - freebsd
 | 
			
		||||
    goarch:
 | 
			
		||||
      - amd64
 | 
			
		||||
      - 386
 | 
			
		||||
      - arm
 | 
			
		||||
      - arm64
 | 
			
		||||
    goarm:
 | 
			
		||||
      - 6
 | 
			
		||||
      - 7
 | 
			
		||||
archives:
 | 
			
		||||
  - replacements:
 | 
			
		||||
      darwin: Darwin
 | 
			
		||||
      linux: Linux
 | 
			
		||||
      windows: Windows
 | 
			
		||||
      386: i386
 | 
			
		||||
      amd64: x86_64
 | 
			
		||||
checksum:
 | 
			
		||||
  name_template: 'checksums.txt'
 | 
			
		||||
snapshot:
 | 
			
		||||
  name_template: "{{ .Tag }}-next"
 | 
			
		||||
changelog:
 | 
			
		||||
  sort: asc
 | 
			
		||||
  filters:
 | 
			
		||||
    exclude:
 | 
			
		||||
      - '^docs:'
 | 
			
		||||
      - '^test:'
 | 
			
		||||
		Reference in New Issue
	
	Block a user