mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 03:19:53 +03:00
nightly-22 updated
This commit is contained in:
parent
9a5bd48712
commit
b4cffbcce1
6 changed files with 20 additions and 53 deletions
|
@ -6,7 +6,7 @@ set -x
|
||||||
|
|
||||||
# make sure we are in the good directory
|
# make sure we are in the good directory
|
||||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||||
cd $DIR
|
cd ${DIR}
|
||||||
|
|
||||||
# pull the latest changes
|
# pull the latest changes
|
||||||
./update-repo.sh
|
./update-repo.sh
|
||||||
|
|
|
@ -6,12 +6,10 @@ set -x
|
||||||
|
|
||||||
# make sure we are in the good directory
|
# make sure we are in the good directory
|
||||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||||
cd $DIR
|
cd ${DIR}
|
||||||
source ./version.sh
|
source ./version.sh
|
||||||
|
|
||||||
# release all components
|
# release all components
|
||||||
./release-companion.sh
|
./release-companion.sh
|
||||||
#./release-voices.sh
|
|
||||||
#./release-lua.sh
|
|
||||||
./release-firmware.sh
|
./release-firmware.sh
|
||||||
|
|
||||||
|
|
|
@ -6,12 +6,14 @@ set -x
|
||||||
|
|
||||||
# make sure we are in the good directory
|
# make sure we are in the good directory
|
||||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||||
cd $DIR
|
cd ${DIR}
|
||||||
source ./version.sh
|
|
||||||
|
|
||||||
# pull the latest changes
|
# pull the latest changes
|
||||||
./update-repo.sh
|
./update-repo.sh
|
||||||
|
|
||||||
|
# retrieve release after the repo update
|
||||||
|
source ./version.sh
|
||||||
|
|
||||||
DESTDIR=/var/www/html/downloads-${version}/nightly/companion
|
DESTDIR=/var/www/html/downloads-${version}/nightly/companion
|
||||||
|
|
||||||
# clean radio source
|
# clean radio source
|
||||||
|
@ -19,9 +21,9 @@ cd opentx/radio/src
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
# create companion rpm
|
# create companion rpm
|
||||||
rm -rf $DIR/companion-build/
|
rm -rf ${DIR}/companion-build/
|
||||||
mkdir -p $_
|
mkdir -p $_
|
||||||
cd $_
|
cd $_
|
||||||
cmake -DPCB=TARANIS ../opentx
|
cmake -DPCB=TARANIS ../opentx
|
||||||
make package
|
make package
|
||||||
cp ./companion${version}-${release}${OPENTX_VERSION_SUFFIX}-i686.rpm ${DESTDIR}/linux
|
cp ./companion${version}-${release}${OPENTX_VERSION_SUFFIX}-i686.rpm ${DESTDIR}/linux
|
||||||
|
|
|
@ -6,12 +6,14 @@ set -x
|
||||||
|
|
||||||
# make sure we are in the good directory
|
# make sure we are in the good directory
|
||||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||||
cd $DIR
|
cd ${DIR}
|
||||||
source ./version.sh
|
|
||||||
|
|
||||||
# pull the latest changes
|
# pull the latest changes
|
||||||
./update-repo.sh
|
./update-repo.sh
|
||||||
|
|
||||||
|
# retrieve release after the repo update
|
||||||
|
source ./version.sh
|
||||||
|
|
||||||
# make the stamp
|
# make the stamp
|
||||||
cd opentx/radio/src
|
cd opentx/radio/src
|
||||||
make clean
|
make clean
|
||||||
|
@ -25,16 +27,18 @@ tar czf ./opentx.tgz opentx/radio/src opentx/radio/util
|
||||||
cd opentx/radio/src
|
cd opentx/radio/src
|
||||||
make lua/lua_exports_taranis.inc lua/lua_exports_taranis_x9e.inc lua/lua_exports_horus.inc lua/lua_exports_flamenco.inc
|
make lua/lua_exports_taranis.inc lua/lua_exports_taranis_x9e.inc lua/lua_exports_horus.inc lua/lua_exports_flamenco.inc
|
||||||
|
|
||||||
|
DESTDIR=/var/www/html/downloads-${version}/nightly/firmware
|
||||||
|
|
||||||
# copy the stamp and the release-notes to the http server
|
# copy the stamp and the release-notes to the http server
|
||||||
cd $DIR
|
cd $DIR
|
||||||
cp opentx/radio/src/stamp.h /var/www/html/downloads-$version/nightly/firmware/stamp-opentx.txt
|
cp opentx/radio/src/stamp.h ${DESTDIR}/stamp-opentx.txt
|
||||||
cp opentx/radio/releasenotes.txt /var/www/html/downloads-$version/nightly/firmware/
|
cp opentx/radio/releasenotes.txt ${DESTDIR}
|
||||||
cp opentx/radio/src/lua/lua_fields_*.txt /var/www/html/downloads-$version/nightly/firmware/
|
cp opentx/radio/src/lua/lua_fields_*.txt ${DESTDIR}
|
||||||
echo ${OPENTX_VERSION_SUFFIX} > /var/www/html/downloads-$version/nightly/firmware/suffix.txt
|
echo ${OPENTX_VERSION_SUFFIX} > ${DESTDIR}/suffix.txt
|
||||||
|
|
||||||
# erase all previous builds
|
# erase all previous builds
|
||||||
rm -f /var/www/html/downloads-$version/nightly/firmware/binaries/opentx*.hex
|
rm -f ${DESTDIR}/binaries/opentx*.hex
|
||||||
rm -f /var/www/html/downloads-$version/nightly/firmware/binaries/opentx*.bin
|
rm -f ${DESTDIR}/binaries/opentx*.bin
|
||||||
|
|
||||||
# clean the sources
|
# clean the sources
|
||||||
cd opentx/radio/src
|
cd opentx/radio/src
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# stops on first error
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# make sure we are in the good directory
|
|
||||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
||||||
cd $DIR
|
|
||||||
source ./version.sh
|
|
||||||
|
|
||||||
# pull the latest changes
|
|
||||||
./update-repo.sh
|
|
||||||
|
|
||||||
# make the stamp
|
|
||||||
cd opentx/radio/wizard/
|
|
||||||
zip -r /var/www/html/lua-$version/wizard.zip *.lua *.bmp
|
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# stops on first error
|
|
||||||
set -e
|
|
||||||
|
|
||||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
|
||||||
source $DIR/version.sh
|
|
||||||
|
|
||||||
# get voice packs
|
|
||||||
wget -O /dev/null $winboxurl/compile.php?branch=$branch
|
|
||||||
cd /var/www/html/voices-$version/opentx-taranis/en/
|
|
||||||
wget -O english-irish-taranis.zip $winboxurl/english-irish-taranis.zip
|
|
||||||
wget -O english-scottish-taranis.zip $winboxurl/english-scottish-taranis.zip
|
|
||||||
wget -O english-american-taranis.zip $winboxurl/english-american-taranis.zip
|
|
||||||
wget -O english-australian-taranis.zip $winboxurl/english-australian-taranis.zip
|
|
||||||
wget -O english-taranis.csv $winboxurl/english-irish-taranis.csv
|
|
||||||
cd /var/www/html/voices-$version/opentx-taranis/fr/
|
|
||||||
wget -O french-taranis.zip $winboxurl/french-taranis.zip
|
|
||||||
wget -O french-taranis.csv $winboxurl/french-taranis.csv
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue