sanitize version for tagging

This commit is contained in:
Jean-Francois Dockes 2019-05-22 09:11:08 +02:00
parent 2b586a70bd
commit e63ce00935

View File

@ -758,5 +758,6 @@ dist_man5_MANS = doc/man/recoll.conf.5
dist-hook:
(cd $(top_srcdir); find . \
\( -name '*.pyc' -o -name '#*' -o -name '*~' \) -delete)
test -z "`git status -s | grep -v '??' | grep -v Makefile.am`"
git tag -a RECOLL-$(VERSION) -m "Release $(VERSION) tagged"
test -z "`git status -s | grep -v '??' | grep -v Makefile.am`"
vers=`echo $(VERSION) | sed -e 's/~/_/g'`;\
git tag -a RECOLL-$$vers -m "Release $$vers tagged"