File: make-release

package info (click to toggle)
yaws 1.65-4etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,164 kB
  • ctags: 3,907
  • sloc: erlang: 20,138; sh: 3,675; makefile: 556; ansic: 404; lisp: 79
file content (36 lines) | stat: -rwxr-xr-x 527 bytes parent folder | download | duplicates (2)
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
#!/bin/sh

#set -x

. ../vsn.mk

echo tagging and packing release ${YAWS_VSN} 

CVS_RSH=ssh
Y=`echo ${YAWS_VSN} | sed 's/\./-/g'`

if [ ! -f ./make-release ]; then
    echo "need to be in scripts dir"; exit 1;
fi


cd ../..

cvs tag -F yaws-${Y}

rm -rf tmp 2> /dev/null
mkdir tmp

cvs export -d tmp -r yaws-$Y .
cd tmp
mv yaws yaws-${YAWS_VSN}
ln -s yaws-${YAWS_VSN} yaws
tar cfz  yaws-${YAWS_VSN}.tar.gz yaws  yaws-${YAWS_VSN}

#mv yaws-${YAWS_VSN}.tar.gz ..
#cd ..

echo release resides in `pwd`/yaws-${YAWS_VSN}.tar.gz