From 6e98ef8dcaa4e12509c66a3362824da61430d676 Mon Sep 17 00:00:00 2001 From: jakobmoellerdev Date: Wed, 13 Nov 2024 13:42:15 +0100 Subject: [PATCH] fix: correctly set prerelease flag Currently all releases (even if candidates) were published as the latest release even though they should be marked as prereleases. This changes this by using the correct goreleaser indicator: ``` # If set to auto, will mark the release as not ready for production # in case there is an indicator for this in the tag e.g. v1.0.0-rc1 # If set to true, will mark the release as not ready for production. # Default: false. ``` --- .github/config/goreleaser.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/config/goreleaser.yaml b/.github/config/goreleaser.yaml index 351813dd65..5f8e6ebec5 100644 --- a/.github/config/goreleaser.yaml +++ b/.github/config/goreleaser.yaml @@ -2,6 +2,9 @@ # However, latest builds (equivalent to nightlies based on the main branch), uses latest.yml version: 2 +release: + prerelease: auto + before: hooks: - go mod tidy