Skip to content

Commit 7b40188

Browse files
koki-developclaude
andcommitted
fix(updater): include app target so updater artifacts are produced
`bundle.targets: "dmg"` alone made the DMG bundler run an embedded `.app` build, but the updater post-processor at `crates/tauri-bundler/ src/bundle.rs:207-220` only walks the user-specified `package_types` list and matches strictly on `PackageType::MacOsBundle` (= the "app" target). Without "app" in targets, no `.app.tar.gz` / `.sig` ever gets written under `bundle/macos/`, which is what tripped the v0.16.0 release job ("No files were found with the provided path"). Adding "app" to the array makes Tauri produce both the standalone `.app` bundle (and its tar.gz + sig) and the DMG, satisfying the two upload-artifact steps without other side effects. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9a01245 commit 7b40188

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"bundle": {
1818
"active": true,
19-
"targets": "dmg",
19+
"targets": ["app", "dmg"],
2020
"createUpdaterArtifacts": true,
2121
"externalBin": ["binaries/cork-cli"],
2222
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns"],

0 commit comments

Comments
 (0)