projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8d9ab1
)
last minute release target update. not particularly dangerous, nobody uses it but me
author
ivan
<ivan>
Wed, 30 Apr 2008 23:19:36 +0000
(23:19 +0000)
committer
ivan
<ivan>
Wed, 30 Apr 2008 23:19:36 +0000
(23:19 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
3a8c735
..
81cefdc
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-118,6
+118,8
@@
PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.8.8/
VERSION=1.9.0cvs
TAG=freeside_1_9_0
VERSION=1.9.0cvs
TAG=freeside_1_9_0
+DEBVERSION = `echo $VERSION | perl -pe 's/(\d)([a-z])/\1~\2/'`-1
+
help:
@echo "supported targets:"
@echo " create-database create-config"
help:
@echo "supported targets:"
@echo " create-database create-config"
@@
-347,13
+349,20
@@
clean:
#these are probably only useful if you're me...
#release: upload-docs
#these are probably only useful if you're me...
#release: upload-docs
+.PHONY: release
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 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}
#cvs tag ${TAG}
cvs tag -F ${TAG}
@@
-364,6
+373,19
@@
release:
scp freeside-${VERSION}.tar.gz ivan@420.am:/var/www/www.sisd.com/freeside/
mv freeside-${VERSION} 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 ..
+ #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@420.am '( cd freeside; cvs update -d -P )'
#ssh root@420.am '( cd /home/ivan/freeside; make clean; make deploy )'
update-webdemo:
ssh ivan@420.am '( cd freeside; cvs update -d -P )'
#ssh root@420.am '( cd /home/ivan/freeside; make clean; make deploy )'