Skip to content

Commit 7e3447b

Browse files
authored
build: disable apple notarization for release workflow (#370)
Signed-off-by: Ben Stickel <[email protected]>
1 parent 9f4c4f6 commit 7e3447b

File tree

1 file changed

+46
-48
lines changed

1 file changed

+46
-48
lines changed

.github/workflows/releaser.yml

+46-48
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,18 @@ jobs:
4747
-
4848
name: Install Cosign
4949
uses: sigstore/[email protected]
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
6262
-
6363
name: Run GoReleaser
6464
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
@@ -74,48 +74,46 @@ jobs:
7474
shopt -s expand_aliases
7575
mkdir .dist
7676
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
111111
-
112112
name: Prepare archives
113113
run: |
114114
#!/bin/bash
115115
shopt -s expand_aliases
116116
cd .dist/
117-
unzip ../dist/harp-darwin-amd64-v1.zip
118-
unzip ../dist/harp-darwin-arm64-v8.0.zip
119117
FILES="*"
120118
for f in $FILES;
121119
do

0 commit comments

Comments
 (0)