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 upgrade command at any time to upgrade using their existing installation style
-
Copy azd to $TEMP and run the copy with parameters to launch the upgrade. This prevents file locks during the upgrade process that would halt the upgrade.
-
MSI
-
macos brew
- Fork and run
brew upgrade
-
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).
Collection of specifications and resources for an
azd upgradecommand which can bring a user up to the latest version ofazdfor 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 styleCopy 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
macos brew
brew upgradeRPM/DEB Linux
In all cases, ensure that the
.installed-by.txtfile includes that most recent installation was performed usingazd upgrade.Bake the install channel into the binary itself (similar to how version is done).