Build number not incrementing by '1' in flutter project #1262
Replies: 2 comments
-
400 error is related to the app being in draft status. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This discussion is being closed due to no activity in the last 14 days. You can reopen the discussion at any time if needed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using Codemagic to automate my flutter project
but I always getting error like below
The bundle version must be higher than the previously uploaded version
Google Play failed to upload artefacts. Only releases with status draft may be created on draft app.: { "error": { "code": 400, "message": "Only releases with status draft may be created on draft app.", "status": "INVALID_ARGUMENT" } }
my script is like below
- flutter build ipa --build-name=1.0.0 --build-number=$(($PROJECT_BUILD_NUMBER + 1)) --export-options-plist ~/export_options.plist
- flutter build appbundle --build-name=1.0.0 --build-number=$(($PROJECT_BUILD_NUMBER + 1)) --release
Beta Was this translation helpful? Give feedback.
All reactions