Adding new package for frontend scripts

This commit is contained in:
Rick Falkvinge
2017-12-05 18:00:34 +01:00
parent 5790b3f2fa
commit 706d44a658
3 changed files with 10 additions and 9 deletions
+4 -4
View File
@@ -42,14 +42,14 @@ echo "Packaging Swarmops, branch '$DROPFOLDER', build $BUILDID."
echo "----------------------------------------------------------------------"
echo ""
if [ "$DROPFOLDER" != "stable" ]; then
scripts/repackage-build-package extscripts $DROPFOLDER
fi
scripts/repackage-build-package common $1
scripts/repackage-build-package backend $1
scripts/repackage-build-package frontend $1
if [ "$DROPFOLDER" != "internal" ]; then
scripts/repackage-build-package extscripts $DROPFOLDER
fi
echo "Notifying developers that new build has packaged for test/deployment..."
if [ "$DROPFOLDER" == "internal" ]; then
@@ -12,7 +12,12 @@ DISTROS=xenial,stretch,jessie
if [ "$2" == "release" ]; then
CONTROLSUFFIX=-release
DROPFOLDER=release
if [ "$1" == "extscripts" ]; then
echo "Error: Cannot package external scripts for stable build. Use 'sprint' or 'internal'."
exit 1;
fi
echo "Packaging FINISHED RELEASE for super-stable deployments."
elif [ "$2" == "sprint" ]; then
CONTROLSUFFIX=-sprint
DROPFOLDER=sprint
@@ -20,10 +25,6 @@ elif [ "$2" == "sprint" ]; then
else
CONTROLSUFFIX=-internal
DROPFOLDER=internal
if [ "$1" == "extscripts" ]; then
echo "Error: Cannot package external scripts for internal build. Use 'sprint' or 'release'."
exit 1;
fi
fi
if [ "$1" == "frontend" ]; then
@@ -2,7 +2,7 @@ Package: swarmops-frontend-internal
Version: --BuildNumber--
Architecture: all
Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net)
Depends: dialog (>= 1.1), swarmops-common-internal (>= --BuildNumber--), swarmops-frontend-external-scripts, --Dependencies--
Depends: dialog (>= 1.1), swarmops-common-internal (>= --BuildNumber--), swarmops-frontend-external-scripts-internal (=> --BuildNumber--), --Dependencies--
Conflicts: swarmops-frontend,swarmops-frontend-stable
Homepage: http://swarmops.com/
Description: Swarmops Frontend (Internal)