| author | ymh <ymh.work@gmail.com> |
| Fri, 02 Mar 2012 17:24:35 +0100 | |
| changeset 582 | f8a54d88b49a |
| parent 578 | c01075236079 |
| child 588 | a18a8abd1089 |
| permissions | -rwxr-xr-x |
| 0 | 1 |
#!/usr/bin/env bash |
2 |
set -e |
|
3 |
if [ -d ~/tmp/platform_V$1 ]; then |
|
4 |
rm -fr ~/tmp/platform_V$1; |
|
5 |
fi |
|
6 |
||
7 |
hg archive -r V$1 ~/tmp/platform_V$1 |
|
8 |
||
9 |
#text2unix ~/tmp/platform_V$1 |
|
10 |
||
11 |
if [ -d ~/tmp/platform_V$1 ]; then |
|
|
578
c01075236079
new version and new location for the platform
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
12 |
cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/platform_V$1/virtualenv/ web.iri.centrepompidou.fr:projects/platform/virtualenv |
| 0 | 13 |
+ core |
14 |
EOT |
|
|
578
c01075236079
new version and new location for the platform
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
15 |
cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/platform_V$1/src/ldt/ web.iri.centrepompidou.fr:projects/platform/ldt |
| 0 | 16 |
+ core |
17 |
EOT |
|
18 |
fi |
|
19 |
||
20 |
if [ -d ~/tmp/platform_V$1 ]; then |
|
21 |
echo "Deleting temp export" |
|
22 |
rm -fr ~/tmp/platform_V$1; |
|
23 |
fi |