+python-fbrehm-libs (0.4.3-1) unstable; urgency=low
+
+ * Version bump
+
+ -- Developer <frank@brehm-online.com> Sat, 09 Mar 2013 08:21:13 +0100
+
python-fbrehm-libs (0.4.2-1) unstable; urgency=low
* Version bump
}
DO_HELP="n"
-ACTION="release"
+ACTION="micro"
WANT_STAGE="unstable"
case "${CUR_GIT_BRANCH}" in
release/*) WANT_STAGE="stable";;
RELEASE_VERSION='1'
fi
-MAIN_VERSION=$( echo "${PB_VERSION}" | awk -F. '{print $1}')
-if [ -z "${MAIN_VERSION}" ]; then
- MAIN_VERSION=0
+MAJOR_VERSION=$( echo "${PB_VERSION}" | awk -F. '{print $1}')
+if [ -z "${MAJOR_VERSION}" ]; then
+ MAJOR_VERSION=0
MINOR_VERSION=0
MICRO_VERSION=0
else
case "${ACTION}" in
major)
- MAIN_VERSION=$(( ${MAIN_VERSION} + 1 ))
+ MAJOR_VERSION=$(( ${MAJOR_VERSION} + 1 ))
MINOR_VERSION=0
MICRO_VERSION=0
RELEASE_VERSION=1
;;
esac
-NEW_PB_VERSION=${MAIN_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
+NEW_PB_VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}
NEW_DEBIAN_VERSION="${NEW_PB_VERSION}-${RELEASE_VERSION}"
echo -e "Current version: ${GREEN}${CUR_VERSION}${NORMAL}"
echo -e "New version: ${GREEN}${NEW_PB_VERSION}${NORMAL}"
for script in $scripts; do
if [ -f $script ] ; then
echo -n "Performing $script ... "
- sed -i -e "s/__version__\\([ ]*=[ ]*\\)[^ ]*/__version__\\1'${NEW_DEBIAN_VERSION}'/" $script
+ sed -i -e "s/__version__\\([ ]*=[ ]*\\)[^ ]*/__version__\\1'${NEW_PB_VERSION}'/" $script
echo -e "[${GREEN}OK${NORMAL}]"
fi
done
__author__ = 'Frank Brehm <frank@brehm-online.com>'
__copyright__ = '(C) 2010-2012 by Frank Brehm, Berlin'
__contact__ = 'frank@brehm-online.com'
-__version__ = '0.4.2-1'
+__version__ = '0.4.3'
__license__ = 'LGPLv3+'
# vim: fileencoding=utf-8 filetype=python ts=4