summaryrefslogtreecommitdiff
path: root/dev-libs/collada-dom/files/take_snapshot.sh
blob: fcf9c75e342315015245f70fdf7357b69335c64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
VERSION=$(date +%Y%m%d)
PACKAGE="collada-dom-2.4.3_pre${VERSION}"

git clone https://github.com/rdiankov/collada-dom ${PACKAGE}

find "${PACKAGE}" -type d -name '.git' -prune -print0 | xargs -0 rm -rf

tar cJf ${PACKAGE}.tar.xz ${PACKAGE}
rm -rf ${PACKAGE}/

echo "Tarball: \"${PACKAGE}.tar.xz\""

echo "** all done **"