From: Ivan Kohler Date: Thu, 15 Mar 2012 20:58:51 +0000 (-0700) Subject: fix make release target X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=4745efea9b2308b1fba8a8180a1a0b5da2986794 fix make release target --- diff --git a/Makefile b/Makefile index bd8766981..b603b8cb7 100644 --- a/Makefile +++ b/Makefile @@ -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"