Appcenter-cli: Unknown argument --no-duplicate-release-error

Created on 16 Jan 2018  路  10Comments  路  Source: microsoft/appcenter-cli

Hello!

I'm trying to use the --no-duplicate-release-error argument as stated in the docs to prevent the release command throwing an error when there's an identical bundle uploaded, but seems that it's not recognized as a valid option

$ appcenter codepush release-react -a app/org -d Staging --no-duplicate-release-error

Most helpful comment

@carloscuesta, great! Please let me know if you see any other issues or have any questions.

All 10 comments

Hi @carloscuesta, thanks for submitting the issue, I was able to reproduce it and currently working on solution and I will let you know if I have any updates.

Thanks good to know! @sergey-akhalkov

Hi @carloscuesta, here is the fix https://github.com/Microsoft/appcenter-cli/pull/367 - please take a look at it and let me know if you see any issues or have any questions.

PS: --no-duplicate-release-error flag has been renamed to the --disable-duplicate-release-error because of this issue https://github.com/substack/minimist/issues/123

Everything works fine I've tested your fix!

Thanks @sergey-akhalkov

@carloscuesta, great! Please let me know if you see any other issues or have any questions.

I merged #367, should release sometime this week.

Hi there, I'm getting the same thing with the --sourcemap-output option. It returns Unknown arguments no matter what value I pass in. Could this be the same issue?

Just released version 1.0.9 with the fix.

Hi there, I've updated to 1.0.9 and still getting Unknown arguments. My command looks like this:

appcenter codepush release-react --app {owner}/{appname} --deployment-name Staging --sourcemap-output index.android.bundle.map --output-dir ./android/assets -m

Hi @saraht129, thanks for report! Reproduced your issue and provided a fix in #379.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

applied-kevinsalot picture applied-kevinsalot  路  4Comments

carloscuesta picture carloscuesta  路  4Comments

nandafirmans picture nandafirmans  路  4Comments

phantrungphat picture phantrungphat  路  3Comments

dvdsgl picture dvdsgl  路  5Comments