X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=b603b8cb7a285401b115908a66bb0430db57d4b7;hb=47822a049bc96a4cc0d868553f87d7c4568e868c;hp=067bf361e207f86af1fab53b37799da0deddb59a;hpb=363ae922339b84964a9725e78ef55b9c7fb1441f;p=freeside.git diff --git a/Makefile b/Makefile index 067bf361e..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"