[GRASS-SVN] r71749 - grass-addons/tools/wingrass-packager

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 16 14:32:12 PST 2017


Author: martinl
Date: 2017-11-16 14:32:12 -0800 (Thu, 16 Nov 2017)
New Revision: 71749

Modified:
   grass-addons/tools/wingrass-packager/cronjob.sh
Log:
wingrass: update propagate script for G74&75

Modified: grass-addons/tools/wingrass-packager/cronjob.sh
===================================================================
--- grass-addons/tools/wingrass-packager/cronjob.sh	2017-11-16 21:14:32 UTC (rev 71748)
+++ grass-addons/tools/wingrass-packager/cronjob.sh	2017-11-16 22:32:12 UTC (rev 71749)
@@ -32,7 +32,7 @@
 	curr=`ls -r -w1 $pattern | head -n1 | cut -d'-' -f4,5 | cut -d'.' -f1`
 	prev=`ls -r -w1 $pattern | head -n2 | tail -n1 | cut -d'-' -f4,5 | cut -d'.' -f1`
 	version=`grep curr $file | cut -d':' -f2 | cut -d'-' -f1 | tr -d ' '`
-    
+
 	sed -e "s/curr:.*/curr: ${version}-$curr/" \
 	    -e "s/prev:.*/prev: ${version}-$prev/" $file > \
 	    ${SRC}/grass$1/${p}/osgeo4w/setup.hint
@@ -57,7 +57,7 @@
 	    rm latest
 
 	    # remove RC builds when release is available
-	    for rc in `ls -d grass-*RC[0-9]`; do
+	    for rc in `ls -d grass-*RC[0-9] 2>/dev/null`; do
 		file=`echo $rc | sed 's/RC[0-9]//g'`
 		if [ -d $file ] ; then
 		    echo "Removing $rc..."
@@ -100,30 +100,33 @@
 ### addons_index 64
 addons_index 70
 addons_index 72
-addons_index 73
+addons_index 74
+addons_index 75
 
 # remove old packages
 ### rm_7 64
-rm_7 70
+#rm_7 70
 rm_7 72
-rm_7 73
+rm_7 74
+rm_7 75
 
 # update setup.ini
 ### update_setup 64
 ### update_setup 70
-update_setup 73
+update_setup 75
 
+
 # geo101 -> upload.osgeo.org
 ### rsync_grass 64
 ### rsync_grass 70
-rsync_grass 73 -daily
+rsync_grass 75 -daily
 
 # promote changes
 ~/cronjobs/osgeo4w-promote.sh
 
 ### report 64
-report 70
 report 72
-report 73
+report 74
+report 75
 
 exit 0



More information about the grass-commit mailing list