Move a step to script, if it fails, fail the build.
This commit is contained in:
parent
1bf3542980
commit
e9141b2ca5
|
|
@ -3,7 +3,7 @@ language: python
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install mazer
|
- pip install mazer
|
||||||
- release=$(mazer build | tail -n1 | awk '{print $NF}')
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- release=$(mazer build | tail -n1 | awk '{print $NF}')
|
||||||
- mazer publish --api-key=${galaxy_api_key} ${release}
|
- mazer publish --api-key=${galaxy_api_key} ${release}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue