Jenkins scripts latest state from the server
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
set -e
|
||||
|
||||
# make sure we are in the good directory
|
||||
cd ~opentx/release/
|
||||
cd ~opentx/release-20/
|
||||
|
||||
# release all components
|
||||
./release-companion.sh
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
set -e
|
||||
|
||||
# make sure we are in the good directory
|
||||
cd ~opentx/release/
|
||||
cd ~opentx/release-20/
|
||||
|
||||
# pull the latest changes
|
||||
./update-repo.sh
|
||||
@@ -15,17 +15,21 @@ line=`grep "VERSION = " Makefile`
|
||||
version=`expr "$line" : 'VERSION = \([0-9]\..*\)'`
|
||||
|
||||
# create companion rpm
|
||||
cd ~opentx/release/companion-build/
|
||||
rm -rf ~opentx/release-20/companion-build/
|
||||
mkdir -p $_
|
||||
cd $_
|
||||
cmake ../opentx/companion/src
|
||||
make package
|
||||
|
||||
cp ./companion-$version-i686.rpm /var/www/html/downloads-20/companion/
|
||||
make stamp
|
||||
chmod -Rf g+w . || true
|
||||
|
||||
# request companion compilation on Windows
|
||||
cd /var/www/html/downloads-20/companion/
|
||||
wget -qO- http://winbox.open-tx.org/companion-builds/compile.php?branch=2.0
|
||||
wget -qO- http://winbox.open-tx.org/companion-builds/compile20.php?branch=2.0
|
||||
wget -O companionInstall_$version.exe http://winbox.open-tx.org/companion-builds/companionInstall_$version.exe
|
||||
mv ~opentx/release/opentx/companion/companion.stamp ./companion-windows.stamp
|
||||
mv ~opentx/release-20/opentx/companion/companion.stamp ./companion-windows.stamp
|
||||
|
||||
chmod -Rf g+w . || true
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
set -e
|
||||
|
||||
# make sure we are in the good directory
|
||||
cd ~opentx/release/
|
||||
cd ~opentx/release-20/
|
||||
|
||||
# pull the latest changes
|
||||
./update-repo.sh
|
||||
@@ -20,7 +20,7 @@ cd ../../..
|
||||
tar czf ./opentx.tgz opentx/radio/src opentx/radio/util
|
||||
|
||||
# copy the stamp and the release-notes to the http server
|
||||
cd ~opentx/release/
|
||||
cd ~opentx/release-20/
|
||||
cp opentx/radio/src/stamp-opentx.txt /var/www/html/downloads-20/firmware/
|
||||
cp opentx/radio/releasenotes.txt /var/www/html/downloads-20/firmware/
|
||||
cp opentx/radio/src/lua_fields.txt /var/www/html/downloads-20/firmware/
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
set -e
|
||||
|
||||
# make sure we are in the good directory
|
||||
cd ~opentx/release/
|
||||
cd ~opentx/release-20/
|
||||
|
||||
# pull the latest changes
|
||||
./update-repo.sh
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
set -e
|
||||
|
||||
# make sure we are in the good directory
|
||||
cd ~opentx/release/
|
||||
cd ~opentx/release-20/
|
||||
|
||||
# pull the latest changes
|
||||
cd opentx
|
||||
|
||||
Reference in New Issue
Block a user