Skip to content

Commit

Permalink
Add a non-versioned "latest" artifact (sonatype-nexus-community#219)
Browse files Browse the repository at this point in the history
* add 'latest' archive, test it in production. YOLO!!!
  • Loading branch information
bhamail authored and zendern committed Mar 7, 2022
1 parent 93aacaf commit ab85522
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ archives:
id: default
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: binary
-
id: latest
name_template: "{{ .ProjectName }}-latest-{{ .Os }}-{{ .Arch }}"
format: binary
-
id: homebrew
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
Expand All @@ -62,6 +66,7 @@ changelog:
release:
ids:
- default
- latest
- homebrew
github:
owner: sonatype-nexus-community
Expand All @@ -83,7 +88,7 @@ dockers:
goos: linux
goarch: amd64
dockerfile: Dockerfile.goreleaser
binaries:
ids:
- nancy
build_flag_templates:
- "--label=author='DJ Schleen'"
Expand All @@ -98,8 +103,8 @@ dockers:
goos: linux
goarch: amd64
dockerfile: build/Dockerfile.alpine
binaries:
- nancy
ids:
- nancy
build_flag_templates:
- "--pull"
- "--label=author='DJ Schleen'"
Expand Down

0 comments on commit ab85522

Please sign in to comment.