2 ##########################################################################
4 # FSWikiLite¥ê¥ê¡¼¥¹ÍÑ¥·¥§¥ë¥¹¥¯¥ê¥×¥È
6 ##########################################################################
7 #=========================================================================
9 #=========================================================================
12 echo "./release.sh version"
16 #=========================================================================
18 #=========================================================================
20 RELEASE="fswiki_lite_$VERSION"
22 #=========================================================================
23 # ¥Æ¥ó¥Ý¥é¥ê¥Ç¥£¥ì¥¯¥È¥ê¤¬¤¢¤ë¾ì¹ç¤Ïºï½ü
24 #=========================================================================
25 if [ -e $RELEASE ]; then
26 echo "delete temp directory..."
30 #=========================================================================
31 # zip¥Õ¥¡¥¤¥ë¤¬¤¢¤ë¾ì¹ç¤Ïºï½ü
32 #=========================================================================
33 if [ -e $RELEASE.zip ]; then
34 echo "delete zip file..."
38 #=========================================================================
39 # ¥Æ¥ó¥Ý¥é¥ê¥Ç¥£¥ì¥¯¥È¥ê¤ÎºîÀ®
40 #=========================================================================
41 echo "create temp directory..."
44 #=========================================================================
46 #=========================================================================
47 echo "copy to temp directory..."
51 cp -r ./plugin $RELEASE
53 #=========================================================================
55 #=========================================================================
56 echo "create zip file..."
57 find ./$RELEASE \! -path '*/CVS*' -exec zip $RELEASE.zip {} \;
59 #=========================================================================
60 # ¥Æ¥ó¥Ý¥é¥ê¥Ç¥£¥ì¥¯¥È¥ê¤òºï½ü
61 #=========================================================================
62 echo "remove temp directory..."
65 #=========================================================================
67 #=========================================================================