+if [ ! -z ${opt_commit} ]; then
+ cvs commit -m 'Debian build'
+fi
+
+if [ ! -z ${opt_tag} ]; then
+ UPSTREAM_TAG=upstream_version_`echo ${VERSION} | tr . _`
+ echo "(Re-)tagging with Upstream tag '${UPSTREAM_TAG}'"
+ cvs -q rtag -d $UPSTREAM_TAG $PKG > /dev/null
+ cvs -q tag -F $UPSTREAM_TAG > /dev/null
+
+fi
+