1
0
mirror of https://github.com/coturn/coturn.git synced 2025-08-14 10:17:05 +02:00
coturn/examples/scripts/pack.sh
Mészáros Mihály 2b2f116c2d Bump version
2020-04-30 20:41:17 +02:00

24 lines
343 B
Bash
Executable File

#!/bin/sh
# Run it from the root of the coturn source tree
V=4.5.1.2
PACKDIR=`pwd`/../coturn-releases/
SRCDIR=`pwd`
DDIR=turnserver-${V}
cd ${SRCDIR}/
make distclean
cd ${PACKDIR}
rm -rf tmp
mkdir tmp
cd tmp
mkdir ${DDIR}
cp -R ${SRCDIR}/* ${DDIR}/
tar cvfz ../${DDIR}.tar.gz ${DDIR}
cd ..
rm -rf tmp
cp -a ${SRCDIR}/ChangeLog ${PACKDIR}