root/trunk/midgard/makedist_cvs

Revision 9196, 0.7 kB (checked in by piotras, 2 years ago)

Set alpha2 version with correct date

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/bin/bash
2
3 # Copyright (C) 2005 The Midgard Community  http://www.midgard-project.org
4 # Copyright (C) 2005 Piotr Pokora <piotr.pokora@infoglob.pl>
5
6 CVS_DIR="$1"
7 DDIR="$2"
8
9 cd $CVS_DIR
10
11 export CVSROOT="$MIDGARD_CVSROOT"
12
13 . ./midgard_bash_libs
14
15 if [ ! -d "$DDIR" ]; then
16   mkdir $DDIR
17 fi 
18
19 mgd_cvs_update
20
21 # In case it got updated
22 . ./midgard_bash_libs
23
24 DATE=`mgd_cvs_date`
25
26 MIDGARD_CVS_VERSION=1.8alpha2_${DATE}
27
28 if [ $? -eq 0 ]; then
29   ./makedist $MIDGARD_CVS_VERSION
30 else
31   exit 1
32 fi
33
34 MGD_PKGS="midgard-core midgard-apache1 midgard-apache2 midgard-php4 midgard-data Midgard_AllinOne"
35
36 rm $DDIR/*.tar.bz2
37
38 for mp in $MGD_PKGS; do
39   mv ${mp}-${MIDGARD_CVS_VERSION}.tar.bz2 $DDIR/
40 done
Note: See TracBrowser for help on using the browser.