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

Update goreleaser release notes. #145

Merged
merged 1 commit into from
Aug 29, 2023
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
31 changes: 20 additions & 11 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
- DOCKER_NAME=algorand/conduit
- DOCKER_GITHUB_NAME=algorand/conduit

before:
hooks:
Expand Down Expand Up @@ -37,8 +37,8 @@ dockers:
goos: linux
goarch: amd64
image_templates:
- "{{ .Env.DOCKER_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-amd64"
- "{{ .Env.DOCKER_NAME }}:{{ .Version }}-amd64"
- "{{ .Env.DOCKER_GITHUB_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-amd64"
- "{{ .Env.DOCKER_GITHUB_NAME }}:{{ .Version }}-amd64"
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title={{ .ProjectName }}
Expand All @@ -52,8 +52,8 @@ dockers:
goos: linux
goarch: arm64
image_templates:
- "{{ .Env.DOCKER_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-arm64"
- "{{ .Env.DOCKER_NAME }}:{{ .Version }}-arm64"
- "{{ .Env.DOCKER_GITHUB_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-arm64"
- "{{ .Env.DOCKER_GITHUB_NAME }}:{{ .Version }}-arm64"
build_flag_templates:
- --platform=linux/arm64
- --label=org.opencontainers.image.title={{ .ProjectName }}
Expand All @@ -66,14 +66,14 @@ dockers:

# automatically select amd64/arm64 when using image.
docker_manifests:
- name_template: "{{ .Env.DOCKER_NAME }}:{{ .Version }}"
- name_template: "{{ .Env.DOCKER_GITHUB_NAME }}:{{ .Version }}"
image_templates:
- "{{ .Env.DOCKER_NAME }}:{{ .Version }}-amd64"
- "{{ .Env.DOCKER_NAME }}:{{ .Version }}-arm64"
- name_template: "{{ .Env.DOCKER_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}"
- "{{ .Env.DOCKER_GITHUB_NAME }}:{{ .Version }}-amd64"
- "{{ .Env.DOCKER_GITHUB_NAME }}:{{ .Version }}-arm64"
- name_template: "{{ .Env.DOCKER_GITHUB_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}"
image_templates:
- "{{ .Env.DOCKER_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-amd64"
- "{{ .Env.DOCKER_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-arm64"
- "{{ .Env.DOCKER_GITHUB_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-amd64"
- "{{ .Env.DOCKER_GITHUB_NAME }}:latest{{ if .IsSnapshot }}-snapshot{{ end }}-arm64"

archives:
- name_template: >-
Expand All @@ -94,3 +94,12 @@ changelog:
- '^chore:'
- '^docs:'
- '^test:'

release:
draft: true
header: |
![GitHub Logo](https://raw.githubusercontent.com/algorand/go-algorand/master/release/release-banner.jpg)
footer: |
**Full Changelog**: https://github.com/{{ .Env.DOCKER_GITHUB_NAME }}/compare{{ .PreviousTag }}...{{ .Tag }}
---
[Docker images for this release are available on Docker Hub.](https://hub.docker.com/r/algorand/conduit)