makesrcdist 347 Bytes
Newer Older
1 2
#!/bin/sh
#
3
# makesrcdist - make a source distribution of mxml.
4 5
#

6 7 8
if test $# != 1; then
	echo "Usage: ./makesrcdist version"
	exit 1
9 10
fi

11
version=$1
12

13 14 15
echo Creating tag for release...
git tag -m "Tag $version" v$version
git push origin v$version
16

17 18
echo Creating mxml-$version.tar.gz...
git archive --format tar HEAD | gzip -v9 >mxml-$version.tar.gz