More nightly prep
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
using namespace Board;
|
||||
|
||||
#define OPENTX_FIRMWARE_DOWNLOADS "http://downloads-22.open-tx.org/firmware"
|
||||
#define OPENTX_NIGHT_FIRMWARE_DOWNLOADS "http://downloads-22.open-tx.org/nightly/firmware"
|
||||
#define OPENTX_NIGHT_FIRMWARE_DOWNLOADS "http://downloads-22.open-tx.org/nightlies/firmware"
|
||||
|
||||
#define FILE_TYP_GENERAL 1
|
||||
#define FILE_TYP_MODEL 2
|
||||
|
||||
@@ -14,7 +14,7 @@ cd ${DIR}
|
||||
# retrieve release after the repo update
|
||||
source ./version.sh
|
||||
|
||||
DESTDIR=/var/www/html/downloads-${version}/nightly/companion
|
||||
DESTDIR=/var/www/html/downloads-${version}/nightlies/companion
|
||||
|
||||
# clean radio source
|
||||
cd opentx/radio/src
|
||||
@@ -37,5 +37,4 @@ chmod -Rf g+w windows/companion-windows-${release}${OPENTX_VERSION_SUFFIX}.exe
|
||||
|
||||
# update windows stamp
|
||||
cp $DIR/companion-build/version.h ./companion-windows.stamp
|
||||
chmod -Rf g+w ./companion-windows.stamp
|
||||
|
||||
chmod -Rf g+w ./companion-windows.stamp
|
||||
|
||||
@@ -27,7 +27,7 @@ tar czf ./opentx.tgz opentx/radio/src opentx/radio/util
|
||||
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
|
||||
|
||||
DESTDIR=/var/www/html/downloads-${version}/nightly/firmware
|
||||
DESTDIR=/var/www/html/downloads-${version}/nightlies/firmware
|
||||
|
||||
# copy the stamp and the release-notes to the http server
|
||||
cd $DIR
|
||||
@@ -43,4 +43,3 @@ rm -f ${DESTDIR}/binaries/opentx*.bin
|
||||
# clean the sources
|
||||
cd opentx/radio/src
|
||||
make clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user