template-flutter icon indicating copy to clipboard operation
template-flutter copied to clipboard

Upload to Appetize is tried before any build

Open amenk opened this issue 1 year ago • 1 comments

Bug description

The scripts try to upload to Appetize is before any build is existing and an error appears.

Steps to reproduce

  1. Start workspace https://gitpod.io/#https://github.com/gitpod-io/template-flutter
  2. Obtain and set token gp env APPETIZE_API_TOKEN=your_token
  3. Stop workspace
  4. Start again
  5. 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

amenk avatar Oct 08 '22 15:10 amenk