File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,22 @@ builds:
32
32
- amd64
33
33
hooks :
34
34
post :
35
- - |
36
- sh -c '
37
- codesign -s "{{.Env.APPLE_APPLICATION_IDENTITY}}" -f -v --options=runtime "dist/macos-builds_{{.Target}}/{{.Name}}"
38
- codesign -vvv --deep --strict "dist/macos-builds_{{.Target}}/{{.Name}}"
39
- ls -l "dist/macos_{{.Target}}"
40
- hdiutil create -volname "STACKIT-CLI" -srcfolder "dist/macos-builds_{{.Target}}/{{.Name}}" -ov -format UDZO "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
41
- codesign -s "{{.Env.APPLE_APPLICATION_IDENTITY}}" -f -v --options=runtime "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
42
- xcrun notarytool submit --keychain-profile "stackit-cli" --wait --progress dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
43
- xcrun stapler staple "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
44
- spctl -a -t open --context context:primary-signature -v dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
45
- '
35
+ - cmd : codesign -s "{{.Env.APPLE_APPLICATION_IDENTITY}}" -f -v --options=runtime "dist/macos-builds_{{.Target}}/{{.Name}}"
36
+ output : true
37
+ - cmd : codesign -vvv --deep --strict "dist/macos-builds_{{.Target}}/{{.Name}}"
38
+ output : true
39
+ - cmd : ls -l "dist/macos_{{.Target}}"
40
+ output : true
41
+ - cmd : hdiutil create -volname "STACKIT-CLI" -srcfolder "dist/macos-builds_{{.Target}}/{{.Name}}" -ov -format UDZO "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
42
+ output : true
43
+ - cmd : codesign -s "{{.Env.APPLE_APPLICATION_IDENTITY}}" -f -v --options=runtime "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
44
+ output : true
45
+ - cmd : xcrun notarytool submit --keychain-profile "stackit-cli" --wait --progress dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
46
+ output : true
47
+ - cmd : xcrun stapler staple "dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg"
48
+ output : true
49
+ - cmd : spctl -a -t open --context context:primary-signature -v dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
50
+ output : true
46
51
47
52
archives :
48
53
- formats : [ 'tar.gz' ]
@@ -151,4 +156,4 @@ winget:
151
156
base :
152
157
owner : microsoft
153
158
name : winget-pkgs
154
- branch : master
159
+ branch : master
You can’t perform that action at this time.
0 commit comments