public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
cmsmadesimple-2-0 / build / makebuild.sh
100644 24 lines (19 sloc) 0.722 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
 
version=$1
 
if [ "$version" = "" ]; then
  echo "No version given"
  exit 1
fi
 
svn export http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk cmsmadesimple-${version}
cd cmsmadesimple-${version}
sh autogen.sh
sh release-cleanup.sh
touch tmp/cache/SITEDOWN
svn import http://svn.cmsmadesimple.org/svn/cmsmadesimple/tags/version-${version} -m "-- Release ${version} --" --no-auto-props
cd ..
 
#svn export http://svn.cmsmadesimple.org/svn/cmsmadesimple/tags/version-${version} cmsmadesimple-${version}
tar zcf cmsmadesimple-${version}.tar.gz cmsmadesimple-${version}
mv cmsmadesimple-${version} cmsmadesimple
zip -r cmsmadesimple-${version}.zip cmsmadesimple
md5sum cmsmadesimple-${version}.*
rm -fr cmsmadesimple