copilot-cli
copilot-cli copied to clipboard
[Bug]: Cannot downgrade from version 1.34.0 to version 1.34.0
Description:
I'm not really sure what to say about this one...
% copilot svc deploy
Name: backend
Environment: staging
It looks like you are trying to use an earlier version of Copilot to downgrade `workload backend` lastly updated by a newer version of Copilot.
- We recommend upgrade your local Copilot CLI version and run this command again.
- Alternatively, you can run with `--allow-downgrade` to override. However, this can cause unsuccessful deployment. Please use with caution!
✘ cannot downgrade workload "backend" (currently in version v1.34.0) to version 1.34.0
% copilot -v
copilot version: 1.34.0
I also encountered this issue after upgrading with Homebrew. The version installed showed 1.34.0 (without the v at the start). I uninstalled the Homebrew version and followed the instructions for installing the binary, and that has the v in the output of copilot --version and runs successfully.