Skip to content

Commit

Permalink
archive and snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
jess-belliveau committed Oct 25, 2021
1 parent 5be79a8 commit 1127800
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
project_name: kr8
before:
hooks:
- go mod download
builds:
- env: [CGO_ENABLED=0]
goos:
Expand All @@ -9,6 +12,23 @@ builds:
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: kr8
archives:
-
format: tar.gz
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
- scripts/*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
dist: dist
dockers:
-
image_templates:
Expand Down

0 comments on commit 1127800

Please sign in to comment.