OSSP CVS Repository

ossp - Check-in [2326]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2326
Date: 2002-Jul-23 13:39:34 (local)
2002-Jul-23 11:39:34 (UTC)
User:thl
Branch:
Comment: better development procedures for releasing
Tickets:
Inspections:
Files:
ossp-pkg/fsl/devtool.conf      1.3 -> 1.4     18 inserted, 4 deleted

ossp-pkg/fsl/devtool.conf 1.3 -> 1.4

--- devtool.conf 2002/07/19 14:12:54     1.3
+++ devtool.conf 2002/07/23 11:39:34     1.4
@@ -39,12 +39,23 @@
         --enable-debug \
         "$@"
 
+%release
+    ./devtool version
+    ./devtool tag
+    ./devtool dist
+    ./devtool upload
+
 %version
     ./shtool version -l txt -n "OSSP fsl" -e VERSION
     V=`./shtool version -l txt -d long VERSION`
     sed -e "s/Version .*(.*)/Version $V/g" <README >README.n 
     mv README.n README
 
+%tag
+    V=`./shtool version -l txt -d short VERSION`
+    echo "+++ tagging CVS sources as FSL_${V}"
+    cvs tag FSL_${V}
+
 %dist
     echo "+++ generating"
     ./devtool autoclean
@@ -63,9 +74,12 @@
                      -e 'CVS,\.cvsignore,\.[ao],^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
     ls -l fsl-${V}.tar.gz
     echo "+++ testing"
-    gunzip <fsl-${V}.tar.gz | tar tvf -
+    gunzip <fsl-${V}.tar.gz | tar tvf - | head -10
+    echo "[...]"
+    gunzip <fsl-${V}.tar.gz | tar tvf - | tail -10
 
-%release
-    echo "+++ copying to ftp://ftp.ossp.org/pkg/fsl/"
-    scp fsl-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/fsl/
+%upload
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/fsl/"
+    V=`./shtool version -l txt -d short VERSION`
+    scp fsl-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/fsl/
 

CVSTrac 2.0.1