taglib/taglib-snapshot.sh

15 lines
325 B
Bash
Raw Normal View History

#!/bin/sh
#if [ -d taglib ]; then
# echo "Remove the \"taglib\" directory first !"
# exit 1
#fi
SNAP="$(date +%Y%m%d)git"
VERSION=1.8
git clone https://github.com/taglib/taglib.git
pushd taglib >& /dev/null
git archive --prefix=taglib-${VERSION}/ master | gzip -9 > ../taglib-${VERSION}-${SNAP}.tar.gz
popd >& /dev/null