[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapguide-commits
Subject:    [mapguide-commits] r9730 - trunk/MgDev
From:       svn_mapguide () osgeo ! org
Date:       2020-09-15 14:34:57
Message-ID: 20200915143457.37A5815F84D () trac ! osgeo ! org
[Download RAW message or body]

Author: jng
Date: 2020-09-15 07:34:57 -0700 (Tue, 15 Sep 2020)
New Revision: 9730

Modified:
   trunk/MgDev/cmake_package.sh
Log:
#2821: Allow passing build number to packaging script

Modified: trunk/MgDev/cmake_package.sh
===================================================================
--- trunk/MgDev/cmake_package.sh	2020-09-14 15:33:38 UTC (rev 9729)
+++ trunk/MgDev/cmake_package.sh	2020-09-15 14:34:57 UTC (rev 9730)
@@ -5,7 +5,7 @@
 MG_TARBALL=
 FDO_VER=4.2.0
 MG_VER=4.0.0
-MG_BUILD=8000
+MG_BUILD=0
 MG_ARCH=amd64
 LIBDIR=lib64
 PKG_OUTPUT_DIR=
@@ -14,6 +14,10 @@
 
 while [ $# -gt 0 ]; do    # Until you run out of parameters...
     case "$1" in
+        --build-number)
+            MG_BUILD=$2
+            shift
+            ;;
         --format)
             PKG_FORMAT=$2
             shift
@@ -37,6 +41,7 @@
             echo "  --tarball [Path to MapGuide tarball]"
             echo "  --working-dir [Path to working directory]"
             echo "  --output-dir [Path to output directory]"
+            echo "  --build-number [Build number]"
             echo "  --help [Display usage]"
             exit
             ;;
@@ -67,6 +72,7 @@
 echo "MapGuide tarball: $MG_TARBALL"
 echo "Package working dir: $WORKING_DIR"
 echo "Package output dir: $PKG_OUTPUT_DIR"
+echo "Build number: $MG_BUILD"
 
 if [ ! -d "$WORKING_DIR" ]; then
     echo "Creating working dir"

_______________________________________________
mapguide-commits mailing list
mapguide-commits@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic