- Invoke
verify-prerelease-altool. - Compile project inputs with
compile-al-app; use the emitted.apppath. - Publish non-interactively:
```powershell
& $env:ALTOOL_PATH publishapp $appPath `
--project $projectPath `
--server $env:BC_SERVER_URL `
--serverinstance $env:BC_SERVER_INSTANCE `
--port $env:BC_SERVER_PORT `
--tenant $env:BC_TENANT `
--authentication $env:BC_AUTHENTICATION `
--environmenttype OnPrem `
--schemaupdatemode Synchronize
```
- Use
--forceupgrade,ForceSync, orRecreateonly when required by the reported scenario. - Preserve output and exit code. Do not call
/dev/appsdirectly.