Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
code-push runs in our ci system (bitrise.io). Sometimes we make a change that doesn't affect the RN portion. When this happens, code-push fails with error: [Error] The uploaded package was not released because it is identical to the contents of the speci
fied deployment's current release.
This results in a broken build report. It would be nice if this error could be ignored via command line flag. Even a different exit code would be helpful
Hi @StevePotter - we have actually gotten the same request and implemented this flag already! Please see: https://github.com/Microsoft/code-push/issues/255.
I'm going to close this for now, but please let me know if that works for you!
@silhouettes --noDuplicateReleaseError not work for me,
Instead of getting error, i got a warning, with the same content:
'[warning] The uploaded package was not released because it is identical to the contents of the specified deployment's current release.'
Hi @luongs3
Flag works properly, we don't publish the same packages.
This flag useful for CI and doesn't work like git --amend
Thanks!
i have the same problem and --noDuplicateReleaseError not work.when i clean history,the problem disappear
Sorry for hijacking but it's the same problem - when I try and do appcenter codepush deployment clear Staging
I get an error:
Error: {"message":"Forbidden","code":"Forbidden"}
Edit:
The fix for this is you have to be set to 'Manager' Role in the App Settings. But then you should also do
$ appcenter logout
$ appcenter login
To refresh credentials. After that I can do appcenter codepush release-react and it would deploy
Most helpful comment
@silhouettes --noDuplicateReleaseError not work for me,
Instead of getting error, i got a warning, with the same content:
'[warning] The uploaded package was not released because it is identical to the contents of the specified deployment's current release.'