microsoft / code-push

A cloud service that enables Cordova and React Native developers to deploy mobile app updates directly to their users’ devices.
https://microsoft.github.io/code-push/
Other
4.36k stars 495 forks source link

🐛 Can not disable a release via promote ([Warning] The uploaded package was not promoted because it is identical to the contents of the targeted deployment's current release.) #747

Closed a-tokyo closed 3 years ago

a-tokyo commented 3 years ago

Attempting to disable a release via the promote command results in a identical contents error. Which doesn't make sense since we are only interested in disabling the release.

Steps to Reproduce

  1. yarn code-push promote $CODE_PUSH_APP_NAME $CODE_PUSH_DEPLOYMENT_NAME $CODE_PUSH_DEPLOYMENT_NAME --disabled true --noDuplicateReleaseError true --label $LABEL

Expected Behavior

What you expected to happen? The release should be disabled

Actual Behavior

What actually happens?

[Warning] The uploaded package was not promoted because it is identical to the contents of the targeted deployment's current release.