React-native-code-push: Flag to ignore: [Error] The uploaded package was not released because it is identical to the contents of the speci fied deployment's current release.

Created on 23 Oct 2016  路  5Comments  路  Source: microsoft/react-native-code-push

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

  • react-native-code-push version: 1.14.6-beta
  • react-native version:0.35
  • iOS/Android/Windows version: latest ios
  • Does this reproduce on a debug build or release build? debug (didn't try releases)
  • Does this reproduce on a simulator, or only on a physical device?
  • Repro steps and/or stack trace:

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

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.'

All 5 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chrisjrex picture chrisjrex  路  4Comments

DeDuckProject picture DeDuckProject  路  3Comments

Phredward picture Phredward  路  3Comments

ACCTFORGH picture ACCTFORGH  路  3Comments

Adr1ann picture Adr1ann  路  3Comments