fix flat-rate discounts when charging zero months, #17043
[freeside.git] / Makefile
index 856e315..7207c2f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -113,10 +113,10 @@ RT_PATH = /opt/rt3
 
 #only used for dev kludge now, not a big deal
 FREESIDE_PATH = `pwd`
-PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.10.1/
+PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.14.2/
 
-VERSION=2.3.2git
-TAG=freeside_2_3_2
+VERSION=2.3.3git
+TAG=freeside_2_3_3
 
 DEBVERSION = `echo ${VERSION} | perl -pe 's/(\d)([a-z])/\1~\2/'`-1
 
@@ -426,13 +426,13 @@ release:
        git pull
 
        # Tag the release
-       git tag ${TAG}
+       git tag -f ${TAG}
 
        #cd /home/ivan
-       git archive ${TAG} | gzip -9 >freeside-${VERSION}.tar.gz
+       git archive --prefix=freeside-${VERSION}/ ${TAG} | gzip -9 >freeside-${VERSION}.tar.gz
 
        scp freeside-${VERSION}.tar.gz ivan@420.am:/var/www/www.sisd.com/freeside/
-       mv freeside-${VERSION} freeside-${VERSION}.tar.gz ..
+       mv freeside-${VERSION}.tar.gz ..
 
        #these things failing should not make release target fail, so: "|| true"