Closed eekesh2thapa closed 3 weeks ago
Hello @eekesh2thapa thank you for reaching out. Have you tried using any of the previous versions of the cli, does the issue occur then? Could you please enable additional debug logging by setting the environment variable like this and post the output here to further analyze it.
DEBUG="appcenter-cli:commands:distribute:release" appcenter distribute release ...
Closing due inactivity.
Description
I am getting the following error in gitlab ci logs
Using appcenter-cli version: 3.0.0 Error: Failed to create release upload for build/app/outputs/flutter-apk/app-blastgolf-release.apk. Backend response: Not found. Correlation ID: 6d547d0e-497e-4231-8aa4-a9ca8641fdf2
Here is the code
flutter_build_android: when: manual stage: build before_script:
APK_PATH="build/app/outputs/apk/blastgolf/release/app-$FLAVOR_PATH-release.apk"
echo "APK PATH: $APK_PATH"
- appcenter distribute release -f "$APK_PATH" -g "Android-QA" -a admin-bjzg/NextGen-Blast-Golf-Android --release-notes "Version $buildNumber" --debug
curl -X POST -H 'Content-Type: application/json' 'https://chat.googleapis.com/v1/spaces/AAAAZiRX1w8/messages?key=AIza***qsHI&token=QP***3jDI' -d '{"text": "'"${APK_NAME}"' Android Build\nBuild executed by: '"${GITLAB_USER_NAME}"'\nBuild Name: '"${BUILD_NAME}"'\n'"${FILE_URL}"'"}' -exportPath ./build
- echo "Success chat"
echo "appcenter distribute chat"
artifacts: paths: