Commit bcf9bb2f authored by Michael Catanzaro's avatar Michael Catanzaro

Simplify make_release script

parent fb2ebd15
test -n "$srcdir" || srcdir=$1
test -n "$srcdir" || srcdir=.
cd $srcdir
VERSION=$(git describe --abbrev=0)
echo "Creating git tree archive…"
git archive --prefix="${NAME}/" --format=tar HEAD > epiphany.tar
rm -f "${NAME}.tar"
tar -Af "${NAME}.tar" epiphany.tar
rm -f epiphany.tar
git archive --prefix="${NAME}/" --format=tar --output="${NAME}.tar" HEAD
echo "Compressing archive…"
xz -f "${NAME}.tar"
xz --force --verbose "${NAME}.tar"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment