FREESIDE_PATH = `pwd`
PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.8.8/
-VERSION=1.7.3rc3
-TAG=freeside_1_7_3rc3
+VERSION=1.7.3
+TAG=freeside_1_7_3
-DEBVERSION = `echo $VERSION | perl -pe 's/(\d)([a-z])/\1~\2/'`-1
+DEBVERSION = `echo ${VERSION} | perl -pe 's/(\d)([a-z])/\1~\2/'`-1
help:
@echo "supported targets:"
cvs commit -m "Updated for ${VERSION}" ChangeLog
# Update the RPM specfile
+ cvs edit ${RPM_SPECFILE}
perl -p -i -e "s/\d+[^\}]+/${VERSION}/ if /%define\s+version\s+(\d+[^\}]+)\}/;" ${RPM_SPECFILE}
cvs commit -m "Updated for ${VERSION}" ${RPM_SPECFILE}
# Update the Debian changelog
+ cvs edit debian/changelog
dch -v ${DEBVERSION} -p "New upstream release"
cvs commit -m "Updated for ${VERSION}" debian/changelog