Skip to content

[bug] tauri build doesn't create updater artifacts if bundle.targets is not set to "all" #3251

@Ludea

Description

@Ludea

Describe the bug

I would like to use updater, with dmg and msi and don't want Appimage binaries.
If I provided dmg and msi as target, with updater enable, updater assets are not created (archive and sig)

Reproduction

Enable updater
Provide target (dmg, msi)
Enable ci to build assets
Do a release
Look at release assets

Expected behavior

Platform binaries with their update assets
.msi, .msi.zip and sig for Windows target

Platform and versions

Operating System - Windows, version 10.0.22000 X64
Webview2 - 97.0.1072.62

Node.js environment
  Node.js - 16.7.0
  @tauri-apps/cli - 1.0.0-beta.10
  @tauri-apps/api - 1.0.0-beta.8

Global packages
  npm - 7.20.3
  yarn - 1.22.5

Rust environment
  rustc - 1.56.0
  cargo - 1.56.0

App directory structure
/.git
/.github
/dist
/key
/node_modules
/public
/src
/src-tauri

App
  tauri.rs - 1.0.0-beta.8
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'
  distDir - ../dist
  devPath - http://localhost:3000
  framework - React

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

priority: 1 highHigh priority bugs/missing features or non-crashing regressionsscope: cliThe tauri-cli rust crate and @tauri-apps/cli npm packagetype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions