microsoft/react-native-code-push

Overrule using Semver for versions / just use string matching

sdossick opened this issue · 2 comments

It's common practice on the iOS App Store to use non-semver strings for versions like 2.01. These fail with codepush with "Error: Invalid binary version(s) for a release."

Is there a simple way to work around this? Unfortunately the version of the app in the store that we'd like to target is called 2.01 and there's not much I can do to make that compatible version name...

Ideally, it would be nice if codepush were flexible enough to support any valid version number/string available on the app stores. It would be ok to have a mode switch or something where you give up some of the multi-version targeting you can do with semver versions in exchange for working codepush against these kinds of version names.

Hi @sdossick , thank you for reaching out!

Please specify what appcenter-cli version and the exact command you are using to publish the codepush update.

Closing this issue due to inactivity.

Only valid semver strings are supported for the app version.