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>
<para>The bottom part allows restricting the search results to a
sub-tree of the indexed area. If you need to do this often,
you may think of setting up multiple indexes instead, as the
performance will be much better.</para>
sub-tree of the indexed area. You can use the
<guilabel>Invert</guilabel> checkbox to search for files not in
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>
</itemizedlist>

View File

@ -7,7 +7,10 @@ fatal() {
exit 1
}
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
}
tagtopsvn() {
@ -25,7 +28,6 @@ tagtop() {
}
#set -x
test $# -eq 1 || usage
TAR=/usr/bin/tar
@ -40,9 +42,32 @@ if test ! -d qtgui;then
fi
targetdir=${targetdir-/tmp}
dotag=${dotag-yes}
version=`cat VERSION`
versionforcvs=`echo $version | sed -e 's/\./_/g'`
TAG="RECOLL_$versionforcvs"
snap=${snap-no}
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
echo Creating AND TAGGING version $versionforcvs

View File

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