Merge "Fix two errors in setup_training_guides"
This commit is contained in:
@@ -122,15 +122,15 @@ function setup_manuals {
|
|||||||
|
|
||||||
# Setup a training-guides project for Zanata
|
# Setup a training-guides project for Zanata
|
||||||
function setup_training_guides {
|
function setup_training_guides {
|
||||||
local project=$1
|
local project=training-guides
|
||||||
local version=${2:-master}
|
local version=${1:-master}
|
||||||
|
|
||||||
# Update the .pot file
|
# Update the .pot file
|
||||||
tox -e generatepot-training
|
tox -e generatepot-training
|
||||||
|
|
||||||
/usr/local/jenkins/slave_scripts/create-zanata-xml.py -p $project \
|
/usr/local/jenkins/slave_scripts/create-zanata-xml.py -p $project \
|
||||||
-v $version --srcdir doc/upstream-training/locale \
|
-v $version --srcdir doc/upstream-training/source/locale \
|
||||||
--txdir doc/upstream-training/locale \
|
--txdir doc/upstream-training/source/locale \
|
||||||
-f zanata.xml
|
-f zanata.xml
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user