Skip to content

Commit 5e6acd0

Browse files
committed
Fix workflow: remove invalid make_latest and zip .app for distribution
1 parent 6e609e5 commit 5e6acd0

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/auto-release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
run: |
5757
cd app
5858
npm run dist:mac
59+
60+
- name: Package App
61+
run: |
62+
cd app/dist/mac
63+
# Find the .app directory and zip it
64+
find . -name "*.app" -type d | head -1 | xargs -I {} zip -r "Tether-v${{ steps.get_version.outputs.VERSION }}-mac.zip" "{}"
5965
6066
- name: Create Release
6167
id: create_release
@@ -69,19 +75,19 @@ jobs:
6975
## Installation Instructions
7076
7177
### For macOS Users:
72-
1. Download the `Tether.app` file below
73-
2. Move it to your Applications folder
74-
3. Right-click and select "Open" (first time only due to unsigned app)
78+
1. Download the `Tether-v${{ steps.get_version.outputs.VERSION }}-mac.zip` file below
79+
2. Double-click to extract the zip file
80+
3. Move `Tether.app` to your Applications folder
81+
4. Right-click and select "Open" (first time only due to unsigned app)
7582
7683
**Note:** The app is unsigned, so macOS may show a security warning on first launch.
7784
Just right-click → "Open" → "Open" to bypass this warning.
7885
7986
### What's New:
8087
See the auto-generated release notes below.
8188
files: |
82-
app/dist/mac/*.app
89+
app/dist/mac/*.zip
8390
token: ${{ secrets.GITHUB_TOKEN }}
84-
make_latest: true
8591

8692
- name: Set release visibility to public
8793
run: |

0 commit comments

Comments
 (0)