Actually run zanata-cli push for Manuals update

Way back when Ic18331b7ee402c4c89b6dacdc4edc02c3ef07cdc landed, adding
support for OpenStack Manuals projects to utilize Zanata, it missed
one critical step -- namely calling zanata-cli push in the script. Do so
now, and don a brown paper bag.

Change-Id: Id7fd722de8749cea496300e77251196b9520ad9d
This commit is contained in:
Steve Kowalik 2015-07-27 15:04:26 +10:00
parent ddb2125143
commit ef334dd0c0

View File

@ -34,4 +34,11 @@ setup_manuals "$PROJECT"
if ! git diff --cached --quiet HEAD --; then
# Push .pot changes to transifex
tx --debug --traceback push -s
# 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
fi
fi