tildefriends/tools/release.sh

19 lines
551 B
Bash
Executable File

#!/bin/bash
VERSION=$1
NICKNAME=$2
rm -rfv tildefriends-$VERSION
svn export . tildefriends-$VERSION
echo "tildefriends-$VERSION: $NICKNAME" > tildefriends-$VERSION/VERSION
tar \
--exclude=deps/libsodium/builds \
--exclude=deps/libsodium/configure \
--exclude=deps/libsodium/test \
--exclude=deps/libbacktrace/Isaac.Newton-Opticks.txt \
--exclude=deps/sqlite/shell.c \
--exclude=deps/speedscope/*.map \
--exclude=deps/libuv/test \
--exclude=deps/openssl \
-caf tildefriends-$VERSION.tar.xz tildefriends-$VERSION
rm -rfv tildefriends-$VERSION