fish-shell/build_tools/make_tarball.sh

12 lines
241 B
Bash
Raw Normal View History

#!/bin/sh
path=~/fish_built/fishfish-2.0.tar.gz
rm -f "$path"
if git archive --format=tar --prefix=fishfish/ master | gzip - > "$path"
then
echo "Tarball written to $path"
openssl sha1 "$path"
else
echo "Tarball could not be written"
fi