Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to pick old versions when running self:update, aka. roll-back #1130

Open
gggeek opened this issue May 17, 2022 · 1 comment
Open

Allow to pick old versions when running self:update, aka. roll-back #1130

gggeek opened this issue May 17, 2022 · 1 comment

Comments

@gggeek
Copy link

gggeek commented May 17, 2022

Funnily enough, the self:update command seems to allow the user to override the current version, but it does not allow her to specify a specific version to upgrade (or downgrade) to.

It would be quite useful to be able to specify an old version as target, ie. rollback, when the latest version has f.e. introduced a bug which breaks the workflow of the developer. Atm I see no easy option for rolling back...

@pjcdawkins
Copy link
Collaborator

Agreed

Currently rollback can be done with:

mv ~/.platformsh/bin/platform-old.phar ~/.platformsh/bin/platform \
&& chmod +x ~/.platformsh/bin/platform \
&& platform -V

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants