-
Notifications
You must be signed in to change notification settings - Fork 1
/
Release_MyBestBB.sh
executable file
·60 lines (46 loc) · 1.82 KB
/
Release_MyBestBB.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
cd ..
cp -af MyBestBB MyBestBB-$1
rm -rf MyBestBB-$1/.svn
rm -rf MyBestBB-$1/*/.svn
rm -rf MyBestBB-$1/*/*/.svn
rm -rf MyBestBB-$1/*/*/*/.svn
rm -rf MyBestBB-$1/*/*/*/*/.svn
rm -rf MyBestBB-$1/*/*/*/*/*/.svn
rm -rf MyBestBB-$1/*/*/*/*/*/*/.svn
rm -rf MyBestBB-$1/*/*/*/*/*/*/.svn
rm -rf MyBestBB-$1/*/*/*/*/*/*/*/.svn
rm -rf MyBestBB-$1/*/*/*/*/*/*/*/*/.svn
ls -alR MyBestBB-$1 | grep '.svn'
tar cv MyBestBB-$1 >MyBestBB-$1.tar
gzip -c -9 MyBestBB-$1.tar >MyBestBB-$1.tar.gz
zip -9 -r MyBestBB-$1.zip MyBestBB-$1
rm -f *.tar
cd /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
#archivage des anciennes releases
mv MyBestBB-* old/
mv Changelog* old/
cd -
chown -R apache:neonet .;chmod -R 770 .
cp -f MyBestBB-$1*gz /tmp
cp -f MyBestBB-$1*zip /tmp
cp -f MyBestBB-$1*gz /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
cp -f MyBestBB-$1*zip /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
cp -f MyBestBB-$1/Changelog_MyBestBB.txt /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
cp -f MyBestBB-$1/Changelog_MyBestBB.txt /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/Changelog_MyBestBB_$1.txt
cp -f MyBestBB-$1/INSTALL_mybestBB* /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
cp -f MyBestBB-$1/UPGRADE_MyBestBB* /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
cp -f MyBestBB-$1/TODO* /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
cp -f MyBestBB-$1/README* /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
rm -rf MyBestBB-$1
cd /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/
ls2html_ww7 -h .>index.php
chown -R apache:neonet .;chmod -R 770 .
cd -
cd /home2/virtuals/ww7.be/html/neofutur/tools/punbb/MyBestBB/old
ls2html_ww7 -h .>index.php
cd -
#still in ..
mv *.zip ~/Release
mv *.tar.gz ~/Release
cd MyBestBB
#back in svn root