Upgrade
Teddy Version: LatestUpgrade Teddy to the latest official release version.
Upgrade Command
To upgrade an instance of Teddy to the latest release version, open your command line application (Command Prompt in Windows or the Terminal in Linux), navigate to $TEDDY_BASE and execute the following command.
npm run upgrade
The upgrader will:
- Check the latest Teddy release on GitHub.
- Compare it with the installed version.
- Ask for confirmation before upgrading.
- Download the release archive and checksum file.
- Verify the archive checksum.
- Extract the release into
./working/upgrade/downloads. - Start the extracted release as an upgrade worker.
- Back up the current installation under
./working/upgrade/backups. - Replace configured Teddy resources.
- Run
npm install.
If no newer version is available, no files are changed.
Upgrade Options
The following upgrade options are also available when running the command to upgrade your instance of Teddy, and may be optionally provided as command line arguments.
--dry-run
Validates the versions without deleting, copying, backing up, or installing dependencies.
--delete-backup
Delete the backup after a successful upgrade. The backup is only deleted after the upgrade completes successfully. If the upgrade fails, the backup is preserved even when --delete-backup is passed.
