tauri/.changes/cli-hooks-env-vars-breaking.md
Amr Bashir 4f73057e6f
refactor!: match target triple for TAURI_ENV_ARCH (#8486)
* refactor!: match target triple for `TAURI_ENV_ARCH`

* fix build

* Update .changes/cli-hooks-env-vars-breaking.md

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>

* Update tooling/cli/ENVIRONMENT_VARIABLES.md

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 12:10:12 -03:00

491 B

tauri-cli @tauri-apps/cli
patch:breaking patch:breaking

Removed TAURI_ENV_PLATFORM_TYPE which will not be set for CLI hook commands anymore, use TAURI_ENV_PLATFORM instead. Also Changed value of TAURI_ENV_PLATFORM and TAURI_ENV_ARCH values to match the target triple more accurately:

  • darwin and androideabi are no longer replaced with macos and android in TAURI_ENV_PLATFORM.
  • i686 and i586 are no longer replaced with x86 in TAURI_ENV_ARCH.