summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-03-10 22:11:22 -0800
committerOri Bernstein <ori@eigenstate.org>2017-03-10 22:11:22 -0800
commit46d4b4ea638d8aefc0fb6b4f32413acdc20e2ce7 (patch)
tree2c5ccaee3f2cadb78eb889168b8bc9fe5147c8ba /support
parentf0107d3b7411afbe8e1e8a04b13de3b60a625d04 (diff)
downloadmc-46d4b4ea638d8aefc0fb6b4f32413acdc20e2ce7.tar.gz
Reset --hard before tarring.
We don't want to tar the wrong commit, or trailing junk.
Diffstat (limited to 'support')
-rwxr-xr-xsupport/release.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/release.sh b/support/release.sh
index b2740d5..5f6b008 100755
--- a/support/release.sh
+++ b/support/release.sh
@@ -8,6 +8,7 @@ mkdir -p $tmp
cp -r ../mc $tmp/
(
cd $tmp/mc
+ git reset --hard
git clean -xfd
rm -rf .git
)