build: Remove auxiliary script for making releases

Now is built in meson with "meson dist".
parent 4045ac77
Pipeline #1791 failed with stage
set -e
test -n "$srcdir" || srcdir=$1
test -n "$srcdir" || srcdir=.
cd $srcdir
VERSION=$(git describe --abbrev=0)
echo "Updating submodules…"
git submodule update --init
echo "Creating git tree archive…"
git archive --prefix="${NAME}/" --format=tar HEAD > nautilus.tar
cd subprojects/libgd
git archive --prefix="${NAME}/subprojects/libgd/" --format=tar HEAD > libgd.tar
cd ../..
rm -f "${NAME}.tar"
tar -Af "${NAME}.tar" nautilus.tar
tar -Af "${NAME}.tar" subprojects/libgd/libgd.tar
rm -f nautilus.tar
rm -f subprojects/libgd/libgd.tar
echo "Compressing archive…"
xz --verbose -f "${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