Update the waldo upload command to support the following scenarios:
- Upload the specified build artifact (i.e., specified with a path ending in
.app or .apk). An upload token must be specified explicitly (either via the --upload_token option, or via the WALDO_UPLOAD_TOKEN environment variable).
- If the upload token is an app token, proceed with the upload as in the past.
- If the upload token is a user token, an app ID must be specified explicitly (either via the
--app_id option, or via the WALDO_APP_ID environment variable.
- Upload the latest build artifact from the specified recipe via the currently active user token, and the app ID associated with the recipe.
Update the
waldo uploadcommand to support the following scenarios:.appor.apk). An upload token must be specified explicitly (either via the--upload_tokenoption, or via theWALDO_UPLOAD_TOKENenvironment variable).--app_idoption, or via theWALDO_APP_IDenvironment variable.