Mercurial > hg > Members > kono > nitros9-code
comparison scripts/burst @ 3094:d9cb87a32d7a
burst script: Rename "latest" to "snapshot"
author | Tormod Volden <debian.tormod@gmail.com> |
---|---|
date | Tue, 22 Dec 2015 20:28:15 +0100 |
parents | f3decf362611 |
children |
comparison
equal
deleted
inserted
replaced
3093:602657b50bd6 | 3094:d9cb87a32d7a |
---|---|
9 echo "$0: Missing name and date tag" | 9 echo "$0: Missing name and date tag" |
10 exit 1 | 10 exit 1 |
11 fi | 11 fi |
12 | 12 |
13 cd $HTDOCS | 13 cd $HTDOCS |
14 mkdir latest-$TAG | 14 mkdir snapshot-$TAG |
15 cd latest-$TAG | 15 cd snapshot-$TAG |
16 unzip -o ../$NAME-$TAG.zip | 16 unzip -o ../$NAME-$TAG.zip |
17 echo "Options +Indexes" > .htaccess | 17 echo "Options +Indexes" > .htaccess |
18 | 18 |
19 cd $HTDOCS | 19 cd $HTDOCS |
20 rm latest | 20 rm snapshot |
21 ln -s latest-$TAG latest | 21 ln -s snapshot-$TAG snapshot |
22 rm $NAME.zip | 22 rm $NAME.zip |
23 ln -s $NAME-$TAG.zip $NAME.zip | 23 ln -s $NAME-$TAG.zip $NAME.zip |