Skip to content

Commit

Permalink
🧱 Update to the latest goreleaser configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Feb 24, 2025
1 parent 2b7ec88 commit 72f7543
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions cdnet/.goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: qodana-cdnet
builds:
- env:
Expand All @@ -18,8 +19,8 @@ builds:
- sh -c "set -e; if [ '{{ .Env.SIGN }}' = 'true' -a '{{ .Os }}' = 'darwin' -a '{{ .Arch }}' = 'amd64' ]; then codesign -denoted-content-type=application/x-mac-app-bin -signed-files-dir ./dist/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_v1/ './dist/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_v1/qodana-cdnet' ; fi"
- sh -c "set -e; if [ '{{ .Env.SIGN }}' = 'true' -a '{{ .Os }}' = 'darwin' -a '{{ .Arch }}' = 'arm64' ]; then codesign -denoted-content-type=application/x-mac-app-bin -signed-files-dir ./dist/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}_v8.0/ './dist/{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}/qodana-cdnet' ; fi"
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
archives:
-
format: binary
formats: [ 'binary' ]
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
2 changes: 1 addition & 1 deletion clang
Submodule clang updated from cbb59d to 0e3e1c
7 changes: 4 additions & 3 deletions cli/.goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: qodana
builds:
- env:
Expand Down Expand Up @@ -37,7 +38,7 @@ archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{ end }}'
format_overrides:
- goos: windows
format: zip
formats: [ 'zip' ]
nfpms:
- vendor: "JetBrains s.r.o."
homepage: "https://github.com/JetBrains/qodana-cli"
Expand Down Expand Up @@ -97,7 +98,7 @@ chocolateys:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
release:
extra_files:
- glob: dist/upload/**
Expand Down Expand Up @@ -171,7 +172,7 @@ git:
- nightly
report_sizes: true
nightly:
name_template: '{{ incpatch .Version }}-nightly'
version_template: '{{ incpatch .Version }}-nightly'
tag_name: nightly
publish_release: true
keep_single_release: true
Expand Down

0 comments on commit 72f7543

Please sign in to comment.