Some changes to build
This commit is contained in:
@@ -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
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
rm /home/packager/lastbuild/swarmops/internal/BuildDropped.txt
|
||||
cd /home/packager/swarmops
|
||||
./repackage-build
|
||||
scripts/repackage-build
|
||||
|
||||
exit 0;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Submodule External Dependencies/NBitcoin updated: e66150942e...3e118efebd
Reference in New Issue
Block a user