Skip to content

Commit

Permalink
feat: add notarization for apple
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Jan 19, 2025
1 parent 6b0dec9 commit 1ac68bf
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .chatgpt_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@ project_name: "soundscape-sync"
default_prompt_blocks:
- "basic-prompt"
- "go-development"
- "secure-coding"
- "workflow-prompt"
initial_files:
- "README.md"

preview_changes: false
interactive_file_selection: false
partial_acceptance: false
enable_step_by_step: true
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,20 @@ jobs:
run: codesign --verify --deep --strict --verbose=2 SoundscapeSync.app
- name: Zip macOS build
run: zip -r SoundscapeSync.app.zip SoundscapeSync.app
- name: Notarize App
if: ${{ secrets.APPLE_ID && secrets.APPLE_TEAM_ID && secrets.APPLE_PASSWORD }}
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
run: |
xcrun notarytool submit SoundscapeSync.app.zip --apple-id "$APPLE_ID" --team-id "$APPLE_TEAM_ID" --password "$APPLE_PASSWORD" --wait
- name: Staple Notarization
if: ${{ secrets.APPLE_ID && secrets.APPLE_TEAM_ID && secrets.APPLE_PASSWORD }}
run: xcrun stapler staple SoundscapeSync.app
- name: Re-zip macOS build
if: ${{ secrets.APPLE_ID && secrets.APPLE_TEAM_ID && secrets.APPLE_PASSWORD }}
run: zip -r SoundscapeSync.app.zip SoundscapeSync.app
- name: Upload macOS artifact
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
const (
owner = "dpolakovics"
repo = "soundscape-sync"
currentTag = "v1.0.0"
currentTag = "v1.0.2"
)

func main() {
Expand Down

0 comments on commit 1ac68bf

Please sign in to comment.