microsoft / react-native-code-push

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

Overrule using Semver for versions / just use string matching #2767

Closed sdossick closed 2 weeks ago

sdossick commented 1 month ago

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.

DmitriyKirakosyan commented 1 month ago

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.

DmitriyKirakosyan commented 2 weeks ago

Closing this issue due to inactivity.

Only valid semver strings are supported for the app version.