Skip to content

Commit bb9f62e

Browse files
Update release.yml
Add macOS quarantine instructions to release notes.
1 parent f893f2a commit bb9f62e

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,24 @@ jobs:
3636
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
3737
APPLE_ARCH: ${{ matrix.os.arch }}
3838
run: npm run publish
39+
40+
- name: Update GitHub Release notes for macOS quarantine
41+
if: runner.os == 'Linux'
42+
uses: IsaacShelton/update-existing-release@v1.3.4
43+
with:
44+
token: ${{ secrets.GITHUB_TOKEN }}
45+
# If you know the tag, specify it below:
46+
tag: ${{ github.ref_name }} # or use the actual release tag
47+
# Optionally, set release: ${{ github.event.release.name }}
48+
body: |
49+
## macOS quarantine:
50+
This app is not signed, so you might get a warning when you try to open it.
51+
There are two possible workarounds:
52+
53+
- You can either override the security settings by following [the instructions here](https://support.apple.com/en-gb/guide/mac-help/mh40617/15.0/mac/15.0).
54+
- If you are not able to do that, you can remove the quarantine attribute by running the following command in the terminal:
55+
56+
```
57+
sudo xattr -d com.apple.quarantine /path/to/WP\ Debug.app
58+
```
59+

0 commit comments

Comments
 (0)