tauri/.changes/rename-hook-env-vars.md

601 B

@tauri-apps/cli tauri-cli tauri-build tauri-utils tauri-codegen tauri-macros
patch:breaking patch:breaking patch:breaking patch:breaking patch:breaking patch:breaking

Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG to TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG to differentiate the prefix with other CLI environment variables.