Skip to content

Commit f04fe92

Browse files
author
Roberto Sora
committedFeb 12, 2020
Force notarization process to take place configuring Gon zip output (#580)
1 parent 1569a5f commit f04fe92

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
 

‎.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
# 1. Download keychain from GH secrets and decode it from base64
6262
# 2. Add the keychain to the system keychains and unlock it
6363
# 3. Call Gon to start notarization process (using AC_USERNAME and AC_PASSWORD)
64-
# 4. Repackage the signed binary replaced in place by Gon
64+
# 4. Repackage the signed binary replaced in place by Gon (ignoring the output zip file)
6565
# 5. Recalculate package checksum and replace it in the goreleaser nnnnnn-checksums.txt file
6666
run: |
6767
echo "${{ secrets.KEYCHAIN }}" | base64 --decode > ~/Library/Keychains/apple-developer.keychain-db

‎gon.config.hcl

+6
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ bundle_id = "cc.arduino.arduino-cli"
44
sign {
55
application_identity = "Developer ID Application: ARDUINO SA (7KT7ZWMCJT)"
66
}
7+
8+
# Ask Gon for zip output to force notarization process to take place.
9+
# The CI will ignore the zip output, using the signed binary only.
10+
zip {
11+
output_path = "arduino-cli.zip"
12+
}

0 commit comments

Comments
 (0)
Please sign in to comment.