small release script improvements

This commit is contained in:
Jean-Francois Dockes 2011-03-30 19:50:46 +02:00
parent 9a160fd390
commit ea981e1d19
4 changed files with 38 additions and 9 deletions

View File

@ -1 +1 @@
1.15.8pre 1.15.9pre

View File

@ -1075,9 +1075,12 @@ fvwm
<listitem> <listitem>
<para>The bottom part allows restricting the search results to a <para>The bottom part allows restricting the search results to a
sub-tree of the indexed area. If you need to do this often, sub-tree of the indexed area. You can use the
you may think of setting up multiple indexes instead, as the <guilabel>Invert</guilabel> checkbox to search for files not in
performance will be much better.</para> the sub-tree instead. If you use directory filtering often and on
big subsets of the file system, you may think of setting up
multiple indexes instead, as the performance may be
better. </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>

View File

@ -7,7 +7,10 @@ fatal() {
exit 1 exit 1
} }
usage() { usage() {
echo 'Usage: [dotag=no] makescrdist.sh do_it' echo 'Usage: makescrdist.sh -t -s do_it'
echo ' -t : no tagging'
echo ' -s : snapshot release: use date instead of VERSION'
echo ' -s implies -t'
exit 1 exit 1
} }
tagtopsvn() { tagtopsvn() {
@ -25,7 +28,6 @@ tagtop() {
} }
#set -x #set -x
test $# -eq 1 || usage
TAR=/usr/bin/tar TAR=/usr/bin/tar
@ -40,9 +42,32 @@ if test ! -d qtgui;then
fi fi
targetdir=${targetdir-/tmp} targetdir=${targetdir-/tmp}
dotag=${dotag-yes} dotag=${dotag-yes}
version=`cat VERSION` snap=${snap-no}
versionforcvs=`echo $version | sed -e 's/\./_/g'`
TAG="RECOLL_$versionforcvs" while getopts ts o
do case "$o" in
t) dotag=no;;
s) snap=yes;dotag=no;;
[?]) usage;;
esac
done
shift `expr $OPTIND - 1`
test $dotag = "yes" -a $snap = "yes" && usage
test $# -eq 1 || usage
echo dotag $dotag snap $snap
if test $snap = yes ; then
version=`date +%s`
versionforcvs=$version
TAG=""
else
version=`cat VERSION`
versionforcvs=`echo $version | sed -e 's/\./_/g'`
TAG="RECOLL_$versionforcvs"
fi
if test "$dotag" = "yes" ; then if test "$dotag" = "yes" ; then
echo Creating AND TAGGING version $versionforcvs echo Creating AND TAGGING version $versionforcvs

View File

@ -145,6 +145,7 @@ filters/rclsvg
filters/rcltex filters/rcltex
filters/rcltext filters/rcltext
filters/rcluncomp filters/rcluncomp
filters/rclwar
filters/rclwpd filters/rclwpd
filters/rclxls filters/rclxls
filters/rclzip filters/rclzip