Skip to content

Commit

Permalink
🧱 Update .goreleaser.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Nov 18, 2024
1 parent 28edeed commit 66f5271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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"
fi"

0 comments on commit 66f5271

Please sign in to comment.