Reenable GPS
[opentx.git] / jenkins / release-21 / release-voices.sh
blob8249b22434a43539290817c45d9d9e284d579d8e
1 #!/bin/bash
3 # stops on first error
4 set -e
5 set -x
7 # make sure we are in the good directory
8 DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
9 cd ${DIR}
11 # retrieve release after the repo update
12 source ./version.sh
14 # build voice packs
15 wget -O /dev/null ${winboxurl}/compile.php?branch=${branch}
17 # get voice packs
18 cd /var/www/html/voices-${version}/opentx-taranis/en/
19 wget -O english-irish-taranis.zip ${winboxurl}/english-irish-taranis.zip
20 wget -O english-scottish-taranis.zip ${winboxurl}/english-scottish-taranis.zip
21 wget -O english-american-taranis.zip ${winboxurl}/english-american-taranis.zip
22 wget -O english-australian-taranis.zip ${winboxurl}/english-australian-taranis.zip
23 # wget -O english-taranis.csv ${winboxurl}/english-irish-taranis.csv # doesn't seem to work
25 cd /var/www/html/voices-${version}/opentx-taranis/fr/
26 wget -O french-taranis.zip ${winboxurl}/french-taranis.zip
27 # wget -O french-taranis.csv ${winboxurl}/french-taranis.csv #outdated