-
-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Labels
Description
In our CI server, we pin the version of sentry-cli for repeatability. Currently, our build script has to do the following:
- Check if sentry-cli is installed at all.
- Move package.json if it exists (because of Can't uninstall or upgrade Sentry CLI if install folder contains package.json, even if not managed by npm/yarn #2174)
- Check the version number of that installed version.
- Compare the installed version number to the desired version number
- Uninstall if we have the wrong version
- Install the desired version
- Move package.json back
Adding a --version option to sentry-cli update would allow us to simply update to the desired version.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Projects
Status
No status