From 8c24f7af4c1623d0d0be9c8e66d17cdbbe2dcacf Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Wed, 26 Mar 2008 19:59:17 +0000 Subject: [PATCH] Ensure version is updated when making releases. Added section in local feed. Reported by Lucas Hazel. --- ROX-Lib2/ROX-Lib2.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ROX-Lib2/ROX-Lib2.xml b/ROX-Lib2/ROX-Lib2.xml index a660209..3c20818 100644 --- a/ROX-Lib2/ROX-Lib2.xml +++ b/ROX-Lib2/ROX-Lib2.xml @@ -9,6 +9,13 @@ + + sed -i "s/<Version>.*<\/Version>$/<Version>$RELEASE_VERSION<\/Version>/" ROX-Lib2/AppInfo.xml + sed -i "s/^roxlib_version = .*$/roxlib_version = (`echo $RELEASE_VERSION|sed 's/\./, /g'`)/" ROX-Lib2/python/rox/__init__.py + cd ROX-Lib2/python && ./make_docs.py && rm -f rox/*.pyc + cd ROX-Lib2/Messages && ./dist + + -- 2.11.4.GIT