microsoft / react-native-code-push

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

target-binary-version * #2561

Closed asapMaki closed 5 months ago

asapMaki commented 1 year ago

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

Steps to Reproduce

  1. Implement code push
  2. Install release on Android with version 2.5.2 (or any other), sometimes version can be in this format 2.5.2-1964
  3. Deploy codepush update with command appcenter codepush release-react -a owner/app -d Staging --target-binary-version "*"

Expected Behavior

What you expected to happen? I expect that my target binary version is applied to all versions in this case

Actual Behavior

What actually happens?

  STACK TRACE AND/OR SCREENSHOTS
  Nothing happens, even codepush returns 404.
 LOG  [CodePush] Report status failed: {"appVersion":"2.5.2"}
 LOG  [CodePush] An unknown error occurred.
 LOG  [CodePush] 404: No deployment found.

Reproducible Demo

Environment

(The more info the faster we will be able to address it!)

quimbaget commented 10 months ago

Same here. For staging build we have a nomenclature like X.Y.Z-rc1 where only rc1, rc2, rc3... Changes. When the app version has the final part of -rcX the * to the target version does not work. Only works when the target version explicitly says the desired app to update, like 2.7.1-rc1 It would be helpful if they would use binary version to target or that the * as the universal update actually worked

MikhailSuendukov commented 8 months ago

Hi and sorry for long delay. Could you please confirm what this issue still persist on latest version (8.2.1)

microsoft-github-policy-service[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

microsoft-github-policy-service[bot] commented 5 months ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.