浏览代码

Add relase script pack.sh

Mészáros Mihály 6 年之前
父节点
当前提交
8b46733fa1
共有 1 个文件被更改,包括 23 次插入0 次删除
  1. 23 0
      examples/scripts/pack.sh

+ 23 - 0
examples/scripts/pack.sh

@@ -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}