From 66f52712e9005d2c887dcd1d98b44ad9138acfca Mon Sep 17 00:00:00 2001 From: Viktor Date: Mon, 18 Nov 2024 11:15:59 +0100 Subject: [PATCH] :bricks: Update .goreleaser.yaml --- cli/.goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/.goreleaser.yaml b/cli/.goreleaser.yaml index ee62a607..250b4bf1 100644 --- a/cli/.goreleaser.yaml +++ b/cli/.goreleaser.yaml @@ -28,7 +28,7 @@ builds: sh -c " set -e; if [ '{{ .IsSnapshot }}' = 'false' -a '{{ .Os }}' != 'linux' ]; - then codesign {{ if eq .Os "darwin" }}-denoted-content-type=application/x-mac-app-bin{{ end }} -signed-files-dir=./dist/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if eq .Arch "amd64" }}_v1{{ end }}/ './dist/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if eq .Arch "amd64" }}_v1{{ end }}/qodana{{ if eq .Os "windows" }}.exe{{ end }}' ; + then codesign {{ if eq .Os "darwin" }}-denoted-content-type=application/x-mac-app-bin{{ end }} -signed-files-dir=./dist/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if eq .Arch "amd64" }}_v1{{ end }}{{ if eq .Arch "arm64" }}_v8.0{{ end }}/ './dist/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if eq .Arch "amd64" }}_v1{{ end }}{{ if eq .Arch "arm64" }}_v8.0{{ end }}/qodana{{ if eq .Os "windows" }}.exe{{ end }}' ; fi; mkdir -p dist/upload; cp {{ .Path }} dist/upload/{{ .ProjectName }}_{{ .Os }}_{{ if eq .Arch "amd64" }}x86_64{{ else }}{{ .Arch }}{{ end }}{{ if eq .Os "windows" }}.exe{{ end }}" @@ -183,4 +183,4 @@ after: then codesign -gpg-key $FINGERPRINT -signed-files-dir=./dist/ dist/checksums.txt; gh release --repo JetBrains/qodana-cli upload {{ if .IsNightly }}nightly{{ else }}v{{ .Version}}{{ end }} dist/checksums.txt.asc; - fi" \ No newline at end of file + fi"