No longer ignore exit status of zanata-cli push
Now that the self-signed certificate for the Zanata server is stored in the default Java keystore, zanata-cli push for the translation upstream update jobs is working nicely, so we can stop using if to guard the non-zero exit status from the script. Change-Id: I75d892c9fe207b19ef263bb09b9beaf25848fbaf
This commit is contained in:
parent
d5d0bc0c79
commit
66d1b67ae7
@ -39,8 +39,6 @@ if ! git diff-index --quiet HEAD --; then
|
||||
|
||||
# And zanata, if we have an XML file.
|
||||
if [ -f zanata.xml ]; then
|
||||
if ! zanata-cli -B -e push; then
|
||||
echo "Pushing to Zanata failed"
|
||||
fi
|
||||
zanata-cli -B -e push
|
||||
fi
|
||||
fi
|
||||
|
@ -43,8 +43,6 @@ if [ $(git diff --cached | egrep -v "(POT-Creation-Date|^[\+\-]#|^\+{3}|^\-{3})"
|
||||
|
||||
# And zanata, if we have a zanata.xml
|
||||
if [ -f zanata.xml ]; then
|
||||
if ! zanata-cli -B -e push; then
|
||||
echo "Pushing to Zanata failed"
|
||||
fi
|
||||
zanata-cli -B -e push
|
||||
fi
|
||||
fi
|
||||
|
@ -50,8 +50,6 @@ if ! git diff-index --quiet HEAD --; then
|
||||
# The Zanata client works out what to send based on the XML file, push if
|
||||
# we have one.
|
||||
if [ -f zanata.xml ]; then
|
||||
if ! zanata-cli -B -e push; then
|
||||
echo "Pushing to Zanata failed"
|
||||
fi
|
||||
zanata-cli -B -e push
|
||||
fi
|
||||
fi
|
||||
|
@ -37,8 +37,6 @@ if ! git diff --cached --quiet HEAD --; then
|
||||
|
||||
# And zanata, if we have an XML file.
|
||||
if [ -f zanata.xml ]; then
|
||||
if ! zanata-cli -B -e push; then
|
||||
echo "Pushing to Zanata failed"
|
||||
fi
|
||||
zanata-cli -B -e push
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user