-
Notifications
You must be signed in to change notification settings - Fork 284
Description
Collection of specifications and resources for an azd upgrade command which can bring a user up to the latest version of azd for their given "channel" (e.g. GA, latest, daily)
-
Check latest available version and alert a user if their version is behind for their current channel
-
User can run
azd upgradecommand at any time to upgrade using their existing installation style -
Copy azd to
$TEMPand run the copy with parameters to launch the upgrade. This prevents file locks during the upgrade process that would halt the upgrade. -
MSI
- Download MSI
- Determine MSI state and launch install with appropriate configs
-
macos brew
- Fork and run
brew upgrade
- Fork and run
-
RPM/DEB Linux
- Download appropriate package file (.rpm/.deb)
- Run the installer
In all cases, ensure that the .installed-by.txt file includes that most recent installation was performed using azd upgrade.
Bake the install channel into the binary itself (similar to how version is done).