summaryrefslogtreecommitdiffstats
path: root/dist.sh
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@verizonmedia.com>2019-08-28 09:17:25 +0200
committerArnstein Ressem <aressem@verizonmedia.com>2019-08-28 09:17:25 +0200
commit1a50010feff03e06090ec245089f0cb3eeb2912d (patch)
tree1c768c67dfc1b00e2f8ab4fa8d71932d26d3e497 /dist.sh
parentbd65431ca39696ec242d63e4d378bae1a333e0c9 (diff)
Set dummy commit ref and date 0 when git is not available in tree.
Diffstat (limited to 'dist.sh')
-rwxr-xr-xdist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist.sh b/dist.sh
index 9f32a9b8f59..b6377188892 100755
--- a/dist.sh
+++ b/dist.sh
@@ -9,7 +9,7 @@ fi
VERSION="$1"
mkdir -p ~/rpmbuild/{SOURCES,SPECS}
-GZIP=-1 tar -zcf ~/rpmbuild/SOURCES/vespa-$VERSION.tar.gz --exclude target --exclude cmake-build-debug --transform "flags=r;s,^,vespa-$VERSION/," * .git
+GZIP=-1 tar -zcf ~/rpmbuild/SOURCES/vespa-$VERSION.tar.gz --exclude target --exclude cmake-build-debug --transform "flags=r;s,^,vespa-$VERSION/," *
DIST_FILE="dist/vespa.spec"
# When checking out relase tags, the vespa.spec is in the source root folder. This is a workaround to be able to build rpms from a release tag.