Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a non-versioned "latest" artifact #219

Merged
merged 3 commits into from
Feb 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did something change in goreleaser?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was nagging about it:

• docker images    
            • DEPRECATED: `docker.binaries` should not be used anymore, check https://goreleaser.com/deprecations#dockerbinaries for more info.
            • DEPRECATED: `docker.binaries` should not be used anymore, check https://goreleaser.com/deprecations#dockerbinaries for more info.

- 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