Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 861c22f

Browse files
committed
Use Bearer/gon for macOS notarization of releases
A tool named gon is used to notarize the macOS release binaries. The original gon tool is now nonfunctional due to its use of the altool tool, which is no longer permitted by Apple. Fortunately a fork of gon was created and the migration from altool to notarytool completed in that fork. So the release workflows are hereby migrated to using the functional fork of gon.
1 parent f369202 commit 861c22f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎.github/workflows/publish-go-nightly-task.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ jobs:
117117
118118
- name: Install gon for code signing and app notarization
119119
run: |
120-
wget -q https://github.com/mitchellh/gon/releases/download/v0.2.3/gon_macos.zip
120+
wget -q https://github.com/Bearer/gon/releases/download/v0.0.27/gon_macos.zip
121121
unzip gon_macos.zip -d /usr/local/bin
122122
123123
- name: Write gon config to file
124124
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
125125
run: |
126126
cat > "${{ env.GON_CONFIG_PATH }}" <<EOF
127-
# See: https://github.com/mitchellh/gon#configuration-file
127+
# See: https://github.com/Bearer/gon#configuration-file
128128
source = ["${{ env.DIST_DIR }}/${{ env.PROJECT_NAME }}_osx_${{ matrix.artifact.name }}/${{ env.PROJECT_NAME }}"]
129129
bundle_id = "cc.arduino.${{ env.PROJECT_NAME }}"
130130

‎.github/workflows/release-go-task.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ jobs:
122122
123123
- name: Install gon for code signing and app notarization
124124
run: |
125-
wget -q https://github.com/mitchellh/gon/releases/download/v0.2.3/gon_macos.zip
125+
wget -q https://github.com/Bearer/gon/releases/download/v0.0.27/gon_macos.zip
126126
unzip gon_macos.zip -d /usr/local/bin
127127
128128
- name: Write gon config to file
129129
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
130130
run: |
131131
cat > "${{ env.GON_CONFIG_PATH }}" <<EOF
132-
# See: https://github.com/mitchellh/gon#configuration-file
132+
# See: https://github.com/Bearer/gon#configuration-file
133133
source = ["${{ env.DIST_DIR }}/${{ env.PROJECT_NAME }}_osx_${{ matrix.artifact.name }}/${{ env.PROJECT_NAME }}"]
134134
bundle_id = "cc.arduino.${{ env.PROJECT_NAME }}"
135135

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /