Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
chore(build): need to call set +e
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Feb 25, 2017
1 parent ae07f85 commit a32ad37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cico_build_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ docker exec ngx-fabric8-wit-builder ./run_functional_tests.sh

if [ $? -eq 0 ]; then
echo 'CICO: functional tests OK'
# Don't treat a publish failure as a build failure as this is confusing
set +e
# Publish to npm
docker exec ngx-fabric8-wit-builder npm run semantic-release
if [ $? -eq 0 ]; then
echo 'CICO: module pushed to npmjs.com'
exit 0
else
# Don't treat a publish failure as a build failure as this is confusing
echo 'CICO: module push to npmjs.com failed'
exit 0
fi
Expand Down

0 comments on commit a32ad37

Please sign in to comment.