Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 2 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading