@@ -47,18 +47,18 @@ jobs:
47
47
-
48
48
name : Install Cosign
49
49
50
- -
51
- name : Import Code-Signing Certificates
52
- uses : Apple-Actions/import-codesign-certs@cfd6eb39a2c848ead8836bda6b56813585404ba7 # v5.0.0
53
- with :
54
- p12-file-base64 : ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
55
- p12-password : ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }}
56
- -
57
- name : Install gon via HomeBrew for code signing and app notarization
58
- run : |
59
- brew tap mitchellh/gon
60
- brew install mitchellh/gon/gon
61
- brew install coreutils
50
+ # -
51
+ # name: Import Code-Signing Certificates
52
+ # uses: Apple-Actions/import-codesign-certs@cfd6eb39a2c848ead8836bda6b56813585404ba7 # v5.0.0
53
+ # with:
54
+ # p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
55
+ # p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }}
56
+ # -
57
+ # name: Install gon via HomeBrew for code signing and app notarization
58
+ # run: |
59
+ # brew tap mitchellh/gon
60
+ # brew install mitchellh/gon/gon
61
+ # brew install coreutils
62
62
-
63
63
name : Run GoReleaser
64
64
uses : goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
@@ -74,48 +74,46 @@ jobs:
74
74
shopt -s expand_aliases
75
75
mkdir .dist
76
76
cp dist/harp-* .dist/
77
- -
78
- name : Sign and notarize MacOS AMD64 cli
79
- env :
80
- AC_USERNAME : " ${{ secrets.AC_USERNAME }}"
81
- AC_PASSWORD : " ${{ secrets.AC_PASSWORD }}"
82
- run : |
83
- echo '{
84
- "source": ["./dist/harp-darwin-amd64-v1"],
85
- "bundle_id":"co.elastic.harp",
86
- "apple_id": {},
87
- "sign": { "application_identity": "9FAEEDF0301EA562A47EC8A473309407DD99CD7C " },
88
- "zip": {
89
- "output_path": "./dist/harp-darwin-amd64-v1.zip"
90
- }
91
- }' | jq . > gon.amd64.json
92
- gon -log-level=debug -log-json ./gon.amd64.json
93
- rm -f .dist/harp-darwin-amd64-v1
94
- -
95
- name : Sign and notarize MacOS ARM64 cli
96
- env :
97
- AC_USERNAME : " ${{ secrets.AC_USERNAME }}"
98
- AC_PASSWORD : " ${{ secrets.AC_PASSWORD }}"
99
- run : |
100
- echo '{
101
- "source": ["./dist/harp-darwin-arm64-v8.0"],
102
- "bundle_id":"co.elastic.harp",
103
- "apple_id": {},
104
- "sign": { "application_identity": "9FAEEDF0301EA562A47EC8A473309407DD99CD7C " },
105
- "zip": {
106
- "output_path": "./dist/harp-darwin-arm64-v8.0.zip"
107
- }
108
- }' | jq . > gon.arm64.json
109
- gon -log-level=debug -log-json ./gon.arm64.json
110
- rm -f .dist/harp-darwin-arm64-v8.0
77
+ # -
78
+ # name: Sign and notarize MacOS AMD64 cli
79
+ # env:
80
+ # AC_USERNAME: "${{ secrets.AC_USERNAME }}"
81
+ # AC_PASSWORD: "${{ secrets.AC_PASSWORD }}"
82
+ # run: |
83
+ # echo '{
84
+ # "source": ["./dist/harp-darwin-amd64-v1"],
85
+ # "bundle_id":"co.elastic.harp",
86
+ # "apple_id": {},
87
+ # "sign": { "application_identity": "9470D0A7B70090A8EF31C3B33AB3868B38B27A3D " },
88
+ # "zip": {
89
+ # "output_path": "./dist/harp-darwin-amd64-v1.zip"
90
+ # }
91
+ # }' | jq . > gon.amd64.json
92
+ # gon -log-level=debug -log-json ./gon.amd64.json
93
+ # rm -f .dist/harp-darwin-amd64-v1
94
+ # -
95
+ # name: Sign and notarize MacOS ARM64 cli
96
+ # env:
97
+ # AC_USERNAME: "${{ secrets.AC_USERNAME }}"
98
+ # AC_PASSWORD: "${{ secrets.AC_PASSWORD }}"
99
+ # run: |
100
+ # echo '{
101
+ # "source": ["./dist/harp-darwin-arm64-v8.0"],
102
+ # "bundle_id":"co.elastic.harp",
103
+ # "apple_id": {},
104
+ # "sign": { "application_identity": "9470D0A7B70090A8EF31C3B33AB3868B38B27A3D " },
105
+ # "zip": {
106
+ # "output_path": "./dist/harp-darwin-arm64-v8.0.zip"
107
+ # }
108
+ # }' | jq . > gon.arm64.json
109
+ # gon -log-level=debug -log-json ./gon.arm64.json
110
+ # rm -f .dist/harp-darwin-arm64-v8.0
111
111
-
112
112
name : Prepare archives
113
113
run : |
114
114
#!/bin/bash
115
115
shopt -s expand_aliases
116
116
cd .dist/
117
- unzip ../dist/harp-darwin-amd64-v1.zip
118
- unzip ../dist/harp-darwin-arm64-v8.0.zip
119
117
FILES="*"
120
118
for f in $FILES;
121
119
do
0 commit comments