OSSP CVS Repository

ossp - Difference in ossp-pkg/str/devtool.conf versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/str/devtool.conf 1.5 -> 1.6

--- devtool.conf 2004/03/19 14:55:50     1.5
+++ devtool.conf 2004/04/23 09:59:53     1.6
@@ -19,12 +19,24 @@
         --enable-debug \
         "$@"
 
+%release
+    ./devtool version
+    ./devtool tag
+    ./devtool dist
+    ./devtool upload
+
 %version
     ./shtool version -l c -n "OSSP str" -p "str_" -e str_version.c
     V=`./shtool version -l c -d long str_version.c`
     sed -e "s/Version .*/Version $V/g" <README >README.n
     mv README.n README
 
+%tag
+    V=`./shtool version -lc -dshort str_version.c | sed -e 's;\.;_;g'`
+    echo "+++ tagging CVS sources as STR_${V}"
+    cvs commit -m 'flush pending changes before tagging'
+    cvs tag STR_${V}
+
 %dist
     rm -f str-*.tar.gz
     ./devtool autoclean
@@ -40,6 +52,11 @@
     gunzip <str-${V}.tar.gz | tar tvf - | head -10; echo "[...]"
     gunzip <str-${V}.tar.gz | tar tvf - | tail -10
 
+%upload
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/str/"
+    V=`./shtool version -lc -dshort str_version.c`
+    scp str-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/str/
+
 %snap
     rm -f str-*.tar.gz
     ./devtool autoclean
@@ -55,7 +72,3 @@
     gunzip <str-SNAP-${D}.tar.gz | tar tvf - | head -10; echo "[...]"
     gunzip <str-SNAP-${D}.tar.gz | tar tvf - | tail -10
 
-%release
-    echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/str/"
-    scp str-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/str/
-

CVSTrac 2.0.1