massdriver-cloud / massdriver-cli

Deprecated. See https://github.com/massdriver-cloud/mass
https://massdriver.cloud
Apache License 2.0
3 stars 2 forks source link

`mass app publish` should not require artifacts in YAML #96

Closed coryodaniel closed 2 years ago

coryodaniel commented 2 years ago

Many apps won't have an artifact output and leaving them off of the YAML file results in:

{"artifacts_schema":"Type mismatch. Expected Object, Boolean but got Null. @ #"}
Error: received non-200 response from Massdriver: 422 Unprocessable Entity

Rather than requiring users to put in the following, we should auto set it during build if not present

artifacts:
  properties: {}