Skip to content

Commit 2fb67ca

Browse files
committed
fix: resolve shell interpretation errors in release workflow
1 parent 06ad70f commit 2fb67ca

1 file changed

Lines changed: 31 additions & 41 deletions

File tree

.github/workflows/release.yml

Lines changed: 31 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Build
1+
name: Release Build
22

33
on:
44
push:
@@ -416,8 +416,11 @@ jobs:
416416
win_sig="${{ steps.find_files.outputs.win_signature }}"
417417
mac_sig="${{ steps.find_files.outputs.mac_signature }}"
418418
419-
# Get release notes
420-
notes="${{ steps.release_notes.outputs.notes }}"
419+
# Get release notes using heredoc to avoid backtick interpretation
420+
cat > /tmp/notes.txt << 'NOTES_EOF'
421+
${{ steps.release_notes.outputs.notes }}
422+
NOTES_EOF
423+
notes=$(cat /tmp/notes.txt)
421424
422425
# Use jq to generate valid JSON with proper escaping
423426
jq -n \
@@ -510,58 +513,45 @@ jobs:
510513
511514
---
512515
513-
### Installation
516+
### Installation
514517
515-
#### 🍺 macOS via Homebrew (Recommended)
516-
```bash
517-
brew install ashesbloom/locallens/local-lens
518-
```
519-
> Homebrew automatically handles Gatekeeper - no extra steps needed!
518+
#### macOS via Homebrew (Recommended)
520519
521-
#### 🪟 Windows
522-
1. Download the `.msi` (enterprise) or `.exe` (individual) installer
520+
brew install ashesbloom/locallens/local-lens
521+
522+
Homebrew automatically handles Gatekeeper - no extra steps needed!
523+
524+
#### Windows
525+
1. Download the .msi (enterprise) or .exe (individual) installer
523526
2. Run the installer
524527
3. Launch Local Lens from the Start Menu
525528
526-
#### 🍎 macOS Manual Install (DMG)
527-
1. Download `Local_Lens_${{ github.ref_name }}_aarch64.dmg`
528-
2. Open the DMG and drag **Local Lens** to Applications
529-
3. **Fix Gatekeeper block** (choose one):
530-
- **Easy:** Download and double-click `Fix_Local_Lens.command`
531-
- **Manual:** Right-click the app → Open → Click "Open" in the dialog
532-
- **Terminal:**
533-
```bash
534-
xattr -cr "/Applications/Local Lens.app" && codesign --force --deep --sign - "/Applications/Local Lens.app"
535-
```
529+
#### macOS Manual Install (DMG)
530+
1. Download the DMG file from this release
531+
2. Open the DMG and drag Local Lens to Applications
532+
3. Fix Gatekeeper block (choose one):
533+
- Download and double-click Fix_Local_Lens.command
534+
- Right-click the app, Open, click Open in the dialog
535+
- Terminal: xattr -cr "/Applications/Local Lens.app"
536536
537537
---
538538
539-
### ⚠️ macOS Security Note
539+
### macOS Security Note
540540
541-
Local Lens is **not notarized** with Apple (requires $99/year developer fee).
542-
macOS may show a "damaged" or "unidentified developer" warning - this is normal for open-source apps.
541+
Local Lens is not notarized with Apple (requires $99/year developer fee).
542+
macOS may show a damaged or unidentified developer warning.
543+
This is normal for open-source apps.
543544
544-
The `Fix_Local_Lens.command` script automatically:
545-
- Removes the quarantine flag
546-
- Applies an ad-hoc code signature
547-
- Sets correct executable permissions
545+
The Fix_Local_Lens.command script automatically removes quarantine,
546+
applies an ad-hoc signature, and sets permissions.
548547
549548
---
550549
551-
### 🔒 Security & Verification
552-
553-
- **Source Code**: Available at tag `${{ github.ref_name }}`
554-
- **Build Process**: [View build logs](https://github.com/${{ github.repository }}/actions)
555-
- **Checksums**: SHA256 checksums provided for verification
556-
557-
**Verify downloads:**
558-
```bash
559-
# macOS
560-
shasum -a 256 "Local_Lens_${{ github.ref_name }}_aarch64.dmg"
550+
### Security and Verification
561551
562-
# Windows
563-
certutil -hashfile "Local_Lens_${{ github.ref_name }}_x64-setup.exe" SHA256
564-
```
552+
- Source Code: Available at this tag
553+
- Build Process: See Actions tab for build logs
554+
- Checksums: SHA256 checksums provided for verification
565555
566556
# Upload Windows artifacts
567557
- name: Upload MSI installer

0 commit comments

Comments
 (0)