docs/release.sh

changeset 14
1bc8dc17e9c9
parent 0
ff1b43f833a9
equal deleted inserted replaced
0:361f58e682f0 1:015bf6b97d0c
35 shtool fixperm -v . 35 shtool fixperm -v .
36 echo "Please find . -exec grep myusername {}" 36 echo "Please find . -exec grep myusername {}"
37 echo "+++ rolling" 37 echo "+++ rolling"
38 V=`shtool version -l c -d short version.cpp` 38 V=`shtool version -l c -d short version.cpp`
39 shtool tarball -o schachuhr-${V}.tar.gz -d schachuhr-${V} \ 39 shtool tarball -o schachuhr-${V}.tar.gz -d schachuhr-${V} \
40 -e '\.hg,\.hgignore,\.[ao]$,^\.,*.tar.gz,^#.*,.*~$,*.bak' \ 40 -e '\.hg,\.hgignore,\.[ao]\$,^\.,*.tar.gz,^#.*,.*~$,*.bak,release\.sh,schuhr_stub.cpp,schuhr_stub.h,schuhr_scrap,share' \
41 -e 'release\.sh,schuhr_stub.cpp,schuhr_stub.h,schuhr_scrap' \ 41 -c 'gzip --best' .
42 -c 'gzip --best' .
43 ls -l schachuhr-${V}.tar.gz 42 ls -l schachuhr-${V}.tar.gz
44 echo "+++ testing" 43 echo "+++ testing"
45 gunzip <schachuhr-${V}.tar.gz | tar tvf - | head -10 44 gunzip <schachuhr-${V}.tar.gz | tar tvf - | head -10
46 echo "[...]" 45 echo "[...]"
47 gunzip <schachuhr-${V}.tar.gz | tar tvf - | tail -10 46 gunzip <schachuhr-${V}.tar.gz | tar tvf - | tail -10

mercurial