[GRASS-SVN] r71234 - grass/branches/releasebranch_7_0/doc

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 27 02:36:23 PDT 2017


Author: neteler
Date: 2017-06-27 02:36:23 -0700 (Tue, 27 Jun 2017)
New Revision: 71234

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

Modified: grass/branches/releasebranch_7_0/doc/howto_release.txt
===================================================================
--- grass/branches/releasebranch_7_0/doc/howto_release.txt	2017-06-27 09:34:06 UTC (rev 71233)
+++ grass/branches/releasebranch_7_0/doc/howto_release.txt	2017-06-27 09:36:23 UTC (rev 71234)
@@ -130,17 +130,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