diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f849e0..17a8893 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -212,55 +212,3 @@ jobs: args: ${{ matrix.args }} includeUpdaterJson: false tauriScript: npx tauri - - - name: Upload macOS .app Bundle (aarch64) - if: matrix.platform == 'macos-latest' && contains(matrix.args, 'aarch64') - uses: actions/upload-artifact@v4 - with: - name: macos-app-aarch64 - path: src-tauri/target/aarch64-apple-darwin/release/bundle/macos/MarkDoc.app - retention-days: 1 - - - name: Upload macOS .app Bundle (x86_64) - if: matrix.platform == 'macos-latest' && contains(matrix.args, 'x86_64') - uses: actions/upload-artifact@v4 - with: - name: macos-app-x86_64 - path: src-tauri/target/x86_64-apple-darwin/release/bundle/macos/MarkDoc.app - retention-days: 1 - - attach-app-bundles: - name: Attach macOS .app Bundles to Release - needs: [prepare-release, build-tauri] - runs-on: ubuntu-latest - steps: - - name: Download macOS .app Bundle (aarch64) - uses: actions/download-artifact@v4 - with: - name: macos-app-aarch64 - path: ./MarkDoc-aarch64.app - - - name: Download macOS .app Bundle (x86_64) - uses: actions/download-artifact@v4 - with: - name: macos-app-x86_64 - path: ./MarkDoc-x86_64.app - - - name: Create Zip Archives - run: | - # Rename to standard names and create minimal zip archives - mv MarkDoc-aarch64.app MarkDoc.app - zip -r -y MarkDoc_aarch64.app.zip MarkDoc.app - rm -rf MarkDoc.app - - mv MarkDoc-x86_64.app MarkDoc.app - zip -r -y MarkDoc_x86_64.app.zip MarkDoc.app - - - name: Upload .app Bundles to Release - uses: softprops/action-gh-release@v2 - with: - tag_name: v${{ needs.prepare-release.outputs.new_version }} - files: | - MarkDoc_aarch64.app.zip - MarkDoc_x86_64.app.zip - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/CLAUDE.md b/CLAUDE.md index a67eac8..7cd8307 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -246,7 +246,8 @@ Triggered by `workflow_dispatch` with `version_type` input: 1. `prepare-release` — bumps version in all 3 sync locations, generates release notes, tags. 2. `verify` — runs all frontend + rust gates on Ubuntu (prevents shipping a broken release). 3. `build-tauri` — matrix (macOS arm64, macOS x86_64, Ubuntu, Windows). `needs: [prepare-release, verify]`. -4. `attach-app-bundles` — zips macOS .app artifacts into the release. + +Only user-facing installers are published: `.dmg` (macOS), `.msi` / `-setup.exe` (Windows), `.deb` / `.rpm` / `.AppImage` (Linux). The Tauri updater `.app.tar.gz` / `.sig` artifacts are suppressed via `bundle.createUpdaterArtifacts: false` — MarkDoc has no updater plugin, so those would only confuse users into downloading a non-installable bundle (see issue #10). ### Release Process diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 4a7272e..f3fad50 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -139,7 +139,8 @@ }, "bundle": { "active": true, - "targets": "all", + "targets": ["deb", "rpm", "appimage", "app", "dmg", "msi", "nsis"], + "createUpdaterArtifacts": false, "icon": [ "icons/32x32.png", "icons/128x128.png",