microsoft / react-native-code-push

React Native module for CodePush
http://appcenter.ms
Other
8.99k stars 1.48k forks source link

[Error] The uploaded package is identical to the contents of the specified deployment's current release. #111

Closed qingfeng closed 8 years ago

qingfeng commented 8 years ago
(*'-') < react-native bundle --platform ios --entry-file index.ios.js --bundle-output main.jsbundle
bundle: Created ReactPackager
bundle: Closing client
bundle: start
bundle: finish
bundle: Writing bundle output to: main.jsbundle
bundle: Done writing bundle output
Assets destination folder is not set, skipping...

next:

(*'-') < code-push release say main.jsbundle 0.0.1                                               15-12-16 18:39
[Error]  The uploaded package is identical to the contents of the specified deployment's current release.

why?

thanks

geof90 commented 8 years ago

Sometimes this happens: https://github.com/facebook/react-native/issues/4289 Try again with the --reset-cache option, or try clearing the packager cache rm -rf $TMPDIR/react-* Let me know if it works!

ohtangza commented 7 years ago

As of today, better to try "--noDuplicateReleaseError"

bhagwans commented 7 years ago

@ohtangza @geof90 i tried "--noDuplicateReleaseError" but same error it is giving even though i changed code. im implementing codepush with ionic 2(IOS). my ionic info

Cordova CLI: 7.0.1 Ionic Framework Version: 3.1.1 Ionic CLI Version: 2.2.3 Ionic App Lib Version: 2.2.1 Ionic App Scripts Version: 1.3.6 ios-deploy version: Not installed ios-sim version: Not installed OS: Linux 4.4 Node Version: v6.10.3

ruslan-bikkinin commented 7 years ago

Hello, @bhagwans, and thanks for reaching us. I have created test application with the following configuration:

Cordova CLI: 7.0.1
cordova-plugin-code-push: v1.9.5-beta

then I have executed three sequential release-cordova commands:

In my case, code-push cli works as expected. If you need additional help regarding your question, please, feel free to open new issue in https://github.com/Microsoft/cordova-plugin-code-push repo using issue template specified there.

bhagwans commented 7 years ago

Hi @ruslan-bikkinin , thanks for commenting Actually it is working in android as expected but not in ios. Do we need any extra configuration in x-code?

ruslan-bikkinin commented 7 years ago

@bhagwans I tried to reproduce this behavior on macOs Sierra 10.12.5, but it works as expected there too.

sergey-akhalkov commented 7 years ago

Hi @bhagwans, could you please provide us with the version of your code-push-cli? In bash please execute code-push -v command.

bhagwans commented 7 years ago

hello @sergey-akhalkov, thanks for commenting. my code-push version is 2.0.2-beta

wuyunqiang commented 6 years ago

I met this bug,how to do?

bhagwans commented 6 years ago

i met with same error in android as well and it got solved by changing version in xml.

bhagwans commented 6 years ago

version should not be less than the previously specified version.

youngjuning commented 5 years ago

same issues

chhornponleu commented 5 years ago

I recently face the same issue and could not find helpful solution. I tried to understand the message and found out that I was trying to release the same code as new version.

I change few lines of code and retry. .... It works then!!!

ChangerHe commented 3 years ago

It appeared when your code does not change everything, but you pushed twice.

shravanpillow commented 1 year ago

I got a solution for this. You need to change 2-3 lines in your code and if it is not working then add more.It should work.

Best of luck.

caturadjiprasetyo commented 1 year ago

I got a solution for this. You need to change 2-3 lines in your code and if it is not working then add more.It should work.

Best of luck.

still got this error after change the code, i use Github action for automatic the process