copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

[Bug]: Cannot downgrade from version 1.34.0 to version 1.34.0

Open ssyberg opened this issue 1 year ago • 1 comments

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

ssyberg avatar Oct 23 '24 20:10 ssyberg

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.

NickFitz avatar Nov 13 '24 11:11 NickFitz