From 3517a211982fefbb876256716eda075e09baaaf4 Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Wed, 9 Aug 2023 01:27:35 +0200 Subject: [PATCH] release: further solve backwards compatible names Signed-off-by: Hidde Beydals --- .goreleaser.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 2c2cc4ea63..83540d8a35 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -113,14 +113,14 @@ archives: - binary-linux - binary-darwin # NB: specifically crafted to ensure compatibility with release artifacts < v3.8.0. - name_template: '{{ .ProjectName }}-{{ .Version }}.{{ .Os }}.{{ .Arch }}' + name_template: '{{ .ProjectName }}-v{{ .Version }}.{{ .Os }}.{{ .Arch }}' - id: archive-windows format: binary builds: - binary-windows # NB: specifically crafted to ensure compatibility with release artifacts < v3.8.0. - name_template: '{{ .ProjectName }}-{{ .Version }}' + name_template: '{{ .ProjectName }}-v{{ .Version }}' - id: archive-darwin-universal format: binary @@ -129,11 +129,11 @@ archives: # NB: specifically crafted to ensure compatibility with release artifacts < v3.8.0. # We can't bundle this with the other unix archive, because .Arch becomes "all". # Before v3.8.0, this used to be _just_ the AMD64 binary. - name_template: '{{ .ProjectName }}-{{ .Version }}.darwin' + name_template: '{{ .ProjectName }}-v{{ .Version }}.darwin' # xref: https://goreleaser.com/customization/checksum/ checksum: - name_template: "{{ .ProjectName }}-{{ .Version }}.checksums.txt" + name_template: "{{ .ProjectName }}-v{{ .Version }}.checksums.txt" algorithm: sha256 ids: - archive-unix