aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools/make_tarball.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/make_tarball.sh')
-rwxr-xr-xbuild_tools/make_tarball.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_tools/make_tarball.sh b/build_tools/make_tarball.sh
index f16171d1..4f02411b 100755
--- a/build_tools/make_tarball.sh
+++ b/build_tools/make_tarball.sh
@@ -20,7 +20,7 @@ wd="$PWD"
prefix="fish"
# Get the version from git-describe
-VERSION=`git describe --tags --dirty 2>/dev/null`
+VERSION=`git describe --dirty 2>/dev/null`
prefix="$prefix-$VERSION"
# The path where we will output the tar file
@@ -30,7 +30,7 @@ path=~/fish_built/$prefix.tar
rm -f "$path" "$path".gz
# git starts the archive
-git archive --format=tar --prefix="$prefix"/ master > "$path"
+git archive --format=tar --prefix="$prefix"/ HEAD > "$path"
# tarball out the documentation, generate a configure script and version file
# Don't use autoreconf since it invokes commands that may not be installed, like aclocal