From 12398bd74b620baa2935809450a316ef199f96e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Tej=C3=B3n?= Date: Fri, 8 Nov 2024 11:54:55 +0100 Subject: [PATCH] build(.goreleaser.yaml): Update GoReleaser configuration for autoprerelease, gommitizen Docker build, and changelog sorting - Updated GoReleaser configuration to enable automatic prereleases - Added gommitizen binary to builds and archives - Modified the version in LDFLAGS for correct tagging - Sorted changelog entries based on ascending order and excluded certain filters - Updated dockers section with a new ID for gommitizen and modified image templates --- .goreleaser.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0d8437b..6d5cf87 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -35,10 +35,11 @@ release: owner: freepik-company name: gommitizen draft: false - prerelease: false + prerelease: auto dockers: - - image_templates: + - id: gommitizen + image_templates: - "ghcr.io/freepik-company/gommitizen:{{ .Version }}" - - "ghcr.io/freepik-company/gommitizen:latest" + - "{{ if not .Prerelease }}ghcr.io/freepik-company/gommitizen:latest{{ end }}" dockerfile: build/gommitizen/Dockerfile