1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-12 19:10:19 +03:00

More changes

This commit is contained in:
Damjan Adamic 2016-01-04 19:09:34 +01:00
parent d8bc752291
commit 9a5bd48712
3 changed files with 10 additions and 6 deletions

View file

@ -21,9 +21,9 @@ cd opentx/radio/src
make clean
# create companion rpm
rm -rf ${DIR}/companion-build/
rm -rf ${DIR}/companion-build/
mkdir -p ${DIR}/companion-build/
cd ${DIR}/companion-build/
cd ${DIR}/companion-build/
cmake ../opentx/companion/src
make package
cp ./companion${version}-${release}${OPENTX_VERSION_SUFFIX}-i686.rpm ${DESTDIR}

View file

@ -7,11 +7,13 @@ set -x
# 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
# retrieve release after the repo update
source ./version.sh
# make the stamp
cd opentx/radio/src
make clean
@ -30,9 +32,9 @@ DESTDIR=/var/www/html/downloads-${version}/nightly/firmware
# copy the stamp and the release-notes to the http server
cd ${DIR}
cp opentx/radio/src/stamp-opentx.txt ${DESTDIR}
cp opentx/radio/releasenotes.txt ${DESTDIR}
cp opentx/radio/releasenotes.txt ${DESTDIR}
cp opentx/radio/src/lua_fields_*.txt ${DESTDIR}
echo ${OPENTX_VERSION_SUFFIX} > ${DESTDIR}/suffix.txt
echo ${OPENTX_VERSION_SUFFIX} > ${DESTDIR}/suffix.txt
# erase all previous builds
rm -f ${DESTDIR}/binaries/opentx*.hex

View file

@ -7,11 +7,13 @@ set -x
# 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
# retrieve release after the repo update
source ./version.sh
# make the stamp
cd opentx/radio/src
make clean