Skip to content

Upload to Appetize is tried before any build #13

@amenk

Description

@amenk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions