Some changes to build

This commit is contained in:
Rick Falkvinge
2014-11-12 01:02:33 +01:00
parent 53b7d14435
commit f3348976c1
5 changed files with 18 additions and 7 deletions
@@ -42,9 +42,13 @@ echo "Packaging Swarmops, branch '$DROPFOLDER', build $BUILDID."
echo "----------------------------------------------------------------------"
echo ""
./repackage-one frontend $1
./repackage-one backend $1
./repackage-one common $1
scripts/repackage-one frontend $1
scripts/repackage-one backend $1
scripts/repackage-one common $1
if [ "$DROPFOLDER" != "internal" ]; then
# packaging extscripts should go here; copy from do-sprint
fi
echo "Notifying developers that new build has packaged for test/deployment..."
@@ -19,7 +19,7 @@ else
DROPFOLDER=internal
BUILDNUMLEN=8
if [ "$1" == "extscripts" ]; then
echo "Error: Cannot package external scripts for internal build. Use 'stable'."
echo "Error: Cannot package external scripts for internal build. Use 'sprint' or 'release'."
exit 1;
fi
fi
@@ -91,6 +91,11 @@ if [ "$COPYFILES" == "yes" ]; then
mkdir -p $DEPLOYDIR/$TARGETDIR
cp -R $SOURCEDIR/* $DEPLOYDIR/$TARGETDIR/.
#Special case: remove staging sandbox from scripts before packaging
if [ "$1" == "extscripts" ]; then
rm -rf $DEPLOYDIR/$TARGETDIR/staging
fi
if [ -d $SOURCEDIR/etcinitd ]; then
echo "Adding /etc/init.d files..."
mkdir -p etc/init.d
+1 -1
View File
@@ -12,7 +12,7 @@ fi
rm /home/packager/lastbuild/swarmops/internal/BuildDropped.txt
cd /home/packager/swarmops
./repackage-build
scripts/repackage-build
exit 0;
+3 -1
View File
@@ -8,6 +8,8 @@ cd Localization
cd ..
#Update lines-of-code count
./update-kaylock-count.sh
cd ..
BuildFiles/update-kaylock-count.sh
cd BuildFiles
#After this, a manual git push should be done