@@ -12,74 +12,74 @@ builds:
1212 - linux
1313 binary : " stackit"
1414
15- - id : windows-builds
16- env :
17- - CGO_ENABLED=0
18- goos :
19- - windows
20- binary : " stackit"
15+ # - id: windows-builds
16+ # env:
17+ # - CGO_ENABLED=0
18+ # goos:
19+ # - windows
20+ # binary: "stackit"
2121
22- - id : macos-builds
23- env :
24- - CGO_ENABLED=0
25- - BUNDLE_ID=cloud.stackit.cli
26- - " APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG"
27- goos :
28- - darwin
29- binary : " stackit"
30- goarch :
31- - arm64
32- - amd64
33- hooks :
34- post :
35- # Signing
36- - cmd : codesign -s "{{.Env.APPLE_APPLICATION_IDENTITY}}" -f -v --options=runtime "dist/macos-builds_{{.Target}}/{{.Name}}"
37- output : true
38- - cmd : codesign -vvv --deep --strict "dist/macos-builds_{{.Target}}/{{.Name}}"
39- output : true
40- - cmd : hdiutil create -volname "STACKIT-CLI" -srcfolder "dist/macos-builds_{{.Target}}/{{.Name}}" -ov -format UDZO "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
41- output : true
42- - cmd : codesign -s "{{.Env.APPLE_APPLICATION_IDENTITY}}" -f -v --options=runtime "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
43- output : true
44- - cmd : xcrun notarytool submit --keychain-profile "stackit-cli" --wait --progress dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
45- output : true
46- - cmd : xcrun stapler staple "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
47- output : true
48- - cmd : spctl -a -t open --context context:primary-signature -v dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
49- output : true
50- # Completion files
51- - cmd : mkdir -p dist/completions
52- - cmd : sh -c 'go run main.go completion zsh > ./dist/completions/stackit.zsh'
53- - cmd : sh -c 'go run main.go completion bash > ./dist/completions/stackit.bash'
54- - cmd : sh -c 'go run main.go completion fish > ./dist/completions/stackit.fish'
22+ # - id: macos-builds
23+ # env:
24+ # - CGO_ENABLED=0
25+ # - BUNDLE_ID=cloud.stackit.cli
26+ # - "APPLE_APPLICATION_IDENTITY=Developer ID Application: Schwarz IT KG"
27+ # goos:
28+ # - darwin
29+ # binary: "stackit"
30+ # goarch:
31+ # - arm64
32+ # - amd64
33+ # hooks:
34+ # post:
35+ # # Signing
36+ # - cmd: codesign -s "{{.Env.APPLE_APPLICATION_IDENTITY}}" -f -v --options=runtime "dist/macos-builds_{{.Target}}/{{.Name}}"
37+ # output: true
38+ # - cmd: codesign -vvv --deep --strict "dist/macos-builds_{{.Target}}/{{.Name}}"
39+ # output: true
40+ # - cmd: hdiutil create -volname "STACKIT-CLI" -srcfolder "dist/macos-builds_{{.Target}}/{{.Name}}" -ov -format UDZO "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
41+ # output: true
42+ # - cmd: codesign -s "{{.Env.APPLE_APPLICATION_IDENTITY}}" -f -v --options=runtime "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
43+ # output: true
44+ # - cmd: xcrun notarytool submit --keychain-profile "stackit-cli" --wait --progress dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
45+ # output: true
46+ # - cmd: xcrun stapler staple "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
47+ # output: true
48+ # - cmd: spctl -a -t open --context context:primary-signature -v dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
49+ # output: true
50+ # # Completion files
51+ # - cmd: mkdir -p dist/completions
52+ # - cmd: sh -c 'go run main.go completion zsh > ./dist/completions/stackit.zsh'
53+ # - cmd: sh -c 'go run main.go completion bash > ./dist/completions/stackit.bash'
54+ # - cmd: sh -c 'go run main.go completion fish > ./dist/completions/stackit.fish'
5555
56- archives :
57- - id : windows-archives
58- ids :
59- - windows-builds
60- formats : [ 'zip' ]
61- - ids :
62- - linux-builds
63- - macos-builds
64- formats : [ 'tar.gz' ]
65- files :
66- - src : ./dist/completions/*
67- dst : completions
68- - LICENSE.md
69- - README.md
56+ # archives:
57+ # - id: windows-archives
58+ # ids:
59+ # - windows-builds
60+ # formats: [ 'zip' ]
61+ # - ids:
62+ # - linux-builds
63+ # - macos-builds
64+ # formats: [ 'tar.gz' ]
65+ # files:
66+ # - src: ./dist/completions/*
67+ # dst: completions
68+ # - LICENSE.md
69+ # - README.md
7070
71- release :
72- # If set to auto, the GitHub release will be marked as "Pre-release"
73- # if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
74- prerelease : auto
71+ # release:
72+ # # If set to auto, the GitHub release will be marked as "Pre-release"
73+ # # if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
74+ # prerelease: auto
7575
76- changelog :
77- use : github
78- sort : asc
79- filters :
80- exclude :
81- - " ^docs:"
82- - " ^test:"
76+ # changelog:
77+ # use: github
78+ # sort: asc
79+ # filters:
80+ # exclude:
81+ # - "^docs:"
82+ # - "^test:"
8383
8484nfpms :
8585 - id : linux-packages
@@ -111,63 +111,63 @@ signs:
111111 " ${artifact}" ,
112112 ]
113113
114- homebrew_casks :
115- - name : stackit
116- directory : Casks
117- repository :
118- owner : stackitcloud
119- name : homebrew-tap
120- commit_author :
121- name : CLI Release Bot
122- 123- homepage : " https://github.com/stackitcloud/stackit-cli"
124- description : " A command-line interface to manage STACKIT resources."
125- license : " Apache-2.0"
126- # If set to auto, the release will not be uploaded to the homebrew tap repo
127- # if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
128- skip_upload : auto
129- completions :
130- zsh : ./completions/stackit.zsh
131- bash : ./completions/stackit.bash
132- fish : ./completions/stackit.fish
114+ # homebrew_casks:
115+ # - name: stackit
116+ # directory: Casks
117+ # repository:
118+ # owner: stackitcloud
119+ # name: homebrew-tap
120+ # commit_author:
121+ # name: CLI Release Bot
122+ 123+ # homepage: "https://github.com/stackitcloud/stackit-cli"
124+ # description: "A command-line interface to manage STACKIT resources."
125+ # license: "Apache-2.0"
126+ # # If set to auto, the release will not be uploaded to the homebrew tap repo
127+ # # if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
128+ # skip_upload: auto
129+ # completions:
130+ # zsh: ./completions/stackit.zsh
131+ # bash: ./completions/stackit.bash
132+ # fish: ./completions/stackit.fish
133133
134- snapcrafts :
135- # IDs of the builds for which to create packages for
136- - ids :
137- - linux-builds
138- # The name of the snap
139- name : stackit
140- # The canonical title of the application, displayed in the software
141- # centre graphical frontends
142- title : STACKIT CLI
143- summary : A command-line interface to manage STACKIT resources.
144- description : " A command-line interface to manage STACKIT resources."
145- license : Apache-2.0
146- confinement : classic
147- # Grade "devel" will only release to `edge` and `beta` channels
148- # Grade "stable" will also release to the `candidate` and `stable` channels
149- grade : stable
150- # Whether to publish the Snap to the store
151- publish : true
134+ # snapcrafts:
135+ # # IDs of the builds for which to create packages for
136+ # - ids:
137+ # - linux-builds
138+ # # The name of the snap
139+ # name: stackit
140+ # # The canonical title of the application, displayed in the software
141+ # # centre graphical frontends
142+ # title: STACKIT CLI
143+ # summary: A command-line interface to manage STACKIT resources.
144+ # description: "A command-line interface to manage STACKIT resources."
145+ # license: Apache-2.0
146+ # confinement: classic
147+ # # Grade "devel" will only release to `edge` and `beta` channels
148+ # # Grade "stable" will also release to the `candidate` and `stable` channels
149+ # grade: stable
150+ # # Whether to publish the Snap to the store
151+ # publish: true
152152
153- winget :
154- - name : stackit
155- publisher : stackitcloud
156- short_description : A command-line interface to manage STACKIT resources.
157- license : Apache-2.0
158- publisher_support_url : " https://github.com/stackitcloud/stackit-cli/issues"
159- package_identifier : stackitcloud.stackit
160- homepage : " https://github.com/stackitcloud/stackit-cli"
161- # If set to auto, the release will not be uploaded to the homebrew tap repo
162- # if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
163- # Temporarily not skipping prereleases to test integration with Winget
164- # skip_upload: auto
165- repository :
166- owner : stackitcloud
167- name : winget-pkgs
168- pull_request :
169- enabled : true
170- base :
171- owner : microsoft
172- name : winget-pkgs
173- branch : master
153+ # winget:
154+ # - name: stackit
155+ # publisher: stackitcloud
156+ # short_description: A command-line interface to manage STACKIT resources.
157+ # license: Apache-2.0
158+ # publisher_support_url: "https://github.com/stackitcloud/stackit-cli/issues"
159+ # package_identifier: stackitcloud.stackit
160+ # homepage: "https://github.com/stackitcloud/stackit-cli"
161+ # # If set to auto, the release will not be uploaded to the homebrew tap repo
162+ # # if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
163+ # # Temporarily not skipping prereleases to test integration with Winget
164+ # # skip_upload: auto
165+ # repository:
166+ # owner: stackitcloud
167+ # name: winget-pkgs
168+ # pull_request:
169+ # enabled: true
170+ # base:
171+ # owner: microsoft
172+ # name: winget-pkgs
173+ # branch: master
0 commit comments