[GRASS-SVN] r71233 - grass/branches/releasebranch_7_2/doc

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 27 02:34:06 PDT 2017


Author: neteler
Date: 2017-06-27 02:34:06 -0700 (Tue, 27 Jun 2017)
New Revision: 71233

Modified:
   grass/branches/releasebranch_7_2/doc/howto_release.txt
Log:
doc/howto_release.txt: generate link to latest source code

Modified: grass/branches/releasebranch_7_2/doc/howto_release.txt
===================================================================
--- grass/branches/releasebranch_7_2/doc/howto_release.txt	2017-06-27 09:33:15 UTC (rev 71232)
+++ grass/branches/releasebranch_7_2/doc/howto_release.txt	2017-06-27 09:34:06 UTC (rev 71233)
@@ -132,17 +132,23 @@
 
 
  o Store the source tarball (twice) in (use scp -p FILES grass:):
-    SERVER1=grass.osgeo.org:/var/www/grass/grass-cms/grass$MAJOR$MINOR/source/
-    SERVER2=upload.osgeo.org:/osgeo/download/grass/grass$MAJOR$MINOR/source/
-    echo $SERVER1
-    echo $SERVER2
+    SERVER1=grass.osgeo.org
+    SERVER1DIR=/var/www/grass/grass-cms/grass$MAJOR$MINOR/source/
+    SERVER2=upload.osgeo.org
+    SERVER2DIR=/osgeo/download/grass/grass$MAJOR$MINOR/source/
+    echo $SERVER1:$SERVER1DIR
+    echo $SERVER2:$SERVER2DIR
 
    # copy along with associated files:
      scp -p grass-$VERSION.* AUTHORS COPYING ChangeLog_$VERSION.gz \
-         INSTALL REQUIREMENTS.html SUBMITTING neteler@$SERVER1
+         INSTALL REQUIREMENTS.html SUBMITTING neteler@$SERVER1:$SERVER1DIR
      scp -p grass-$VERSION.* AUTHORS COPYING ChangeLog_$VERSION.gz \
-         INSTALL REQUIREMENTS.html SUBMITTING neteler@$SERVER2
+         INSTALL REQUIREMENTS.html SUBMITTING neteler@$SERVER2:$SERVER2DIR
 
+   # generate link to "latest" source code
+     ssh neteler@$SERVER1 rm -f $SERVER1DIR/grass-$MAJOR.$MINOR-latest.tar.gz
+     ssh neteler@$SERVER1 "cd $SERVER1DIR ; ln -s grass-$VERSION.tar.gz $SERVER1DIR/grass-$MAJOR.$MINOR-latest.tar.gz"
+
  o update winGRASS related files
     - Update the winGRASS version
       grass-addons/tools/wingrass-packager/grass_packager_release.bat



More information about the grass-commit mailing list