From 4d2ce80b038c699b9f2f88db62f661467d9d0b4e Mon Sep 17 00:00:00 2001 From: Steffen Uhlig Date: Sun, 28 Aug 2022 11:30:29 +0200 Subject: [PATCH] Record the release URL --- .goreleaser.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 9f20509..242311f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -42,3 +42,7 @@ changelog: release: # Mark the release as not ready for production if there is an indicator for this in the tag e.g. v1.0.0-rc1 prerelease: auto + +publishers: + - name: save-release-url + cmd: sh -c "echo '{{ .ReleaseURL }}' > dist/release-url.txt"