[freeside-commits] freeside Makefile,1.145.2.8,1.145.2.9

Ivan,,, ivan at wavetail.420.am
Wed Apr 30 16:19:42 PDT 2008


Update of /home/cvs/cvsroot/freeside
In directory wavetail.420.am:/tmp/cvs-serv24794

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	Makefile 
Log Message:
last minute release target update.  not particularly dangerous, nobody uses it but me

Index: Makefile
===================================================================
RCS file: /home/cvs/cvsroot/freeside/Makefile,v
retrieving revision 1.145.2.8
retrieving revision 1.145.2.9
diff -u -d -r1.145.2.8 -r1.145.2.9
--- Makefile	14 Apr 2008 18:42:00 -0000	1.145.2.8
+++ Makefile	30 Apr 2008 23:19:38 -0000	1.145.2.9
@@ -120,6 +120,8 @@
 VERSION=1.7.3rc3
 TAG=freeside_1_7_3rc3
 
+DEBVERSION = `echo $VERSION | perl -pe 's/(\d)([a-z])/\1~\2/'`-1
+
 help:
 	@echo "supported targets:"
 	@echo "                   create-database create-config"
@@ -349,13 +351,20 @@
 #these are probably only useful if you're me...
 
 #release: upload-docs
+.PHONY: release
 release:
-	cd /home/ivan/freeside
+	# Update the changelog
+	./CVS2CL
+	cvs commit -m "Updated for ${VERSION}" ChangeLog
 
 	# Update the 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
+	dch -v ${DEBVERSION} -p "New upstream release"
+	cvs commit -m "Updated for ${VERSION}" debian/changelog
+
 	#cvs tag ${TAG}
 	cvs tag -F ${TAG}
 
@@ -366,6 +375,19 @@
 	scp freeside-${VERSION}.tar.gz ivan at 420.am:/var/www/www.sisd.com/freeside/
 	mv freeside-${VERSION} freeside-${VERSION}.tar.gz ..
 
+	#these things failing should not make release target fail, so: "|| true"
+
+	#kick off vmware update
+	#./BUILD_VMWARE_APPLIANCE ${$TAG} || true
+
+	#kick off deb package update
+
+	#kick off rpm package update too?
+
+	#update web demo?
+
+	#update web demo self-service?
+
 update-webdemo:
 	ssh ivan at 420.am '( cd freeside; cvs update -d -P )'
 	#ssh root at 420.am '( cd /home/ivan/freeside; make clean; make deploy )'



More information about the freeside-commits mailing list