template-flutter
template-flutter copied to clipboard
Upload to Appetize is tried before any build
Bug description
The scripts try to upload to Appetize is before any build is existing and an error appears.
Steps to reproduce
- Start workspace https://gitpod.io/#https://github.com/gitpod-io/template-flutter
- Obtain and set token
gp env APPETIZE_API_TOKEN=your_token
- Stop workspace
- Start again
- See Android Appetize info terminal
Error:
info[gitpod]: If you want to build apk/appbundle for Android then you might consider doing the below
info[gitpod]: Appetize can will help you debug your app inside the browser
curl: (26) Failed to open/read local data from file/application
variable must have a value; use -u to unset a variable
Expected behavior
The error should not appear, instead the script should wait until the app is built
Example repository
ttps://gitpod.io/#https://github.com/gitpod-io/template-flutter
Anything else?
Or is this task to be called manually? Then it should not run initially when there is not yet an APK.
If there is an APK, it would work