1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-30 22:40:59 +01:00

Add relase script pack.sh

This commit is contained in:
Mészáros Mihály 2019-01-16 14:52:36 +01:00
parent d3263954ae
commit 8b46733fa1

23
examples/scripts/pack.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
# Run it from the root of the coturn source tree
V=4.5.1.0
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}