summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-05-28 19:55:37 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2008-05-28 19:55:37 -0700
commit7364d8734a2c6385d16f1b0a6c2dd6bdb0dcf0ea (patch)
tree7b99ea71d014becf70823f52e6ea3d966dce4eea
parentAdd tool for releases. (diff)
downloadmysql-extras-7364d8734a2c6385d16f1b0a6c2dd6bdb0dcf0ea.tar.gz
mysql-extras-7364d8734a2c6385d16f1b0a6c2dd6bdb0dcf0ea.tar.bz2
mysql-extras-7364d8734a2c6385d16f1b0a6c2dd6bdb0dcf0ea.zip
Remember the dir.mysql-extras-20080529
-rwxr-xr-xdo-release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/do-release.sh b/do-release.sh
index 30d24c9..65c44c9 100755
--- a/do-release.sh
+++ b/do-release.sh
@@ -1,5 +1,5 @@
#!/bin/sh
DATE=$(date +%Y%m%d -u)
TAG=mysql-extras-$DATE
-git tag mysql-extras-$DATE
-git archive --prefix=$tag $tag | bzip2 >../${tag}.tar.bz2
+git tag $TAG
+git archive --prefix="${TAG}/" $TAG | bzip2 >../${TAG}.tar.bz2