Move a step to script, if it fails, fail the build.

This commit is contained in:
Robert de Bock 2019-06-12 20:35:10 +02:00
parent 1bf3542980
commit e9141b2ca5
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ language: python
install:
- pip install mazer
- release=$(mazer build | tail -n1 | awk '{print $NF}')
script:
- release=$(mazer build | tail -n1 | awk '{print $NF}')
- mazer publish --api-key=${galaxy_api_key} ${release}