You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
347 B
18 lines
347 B
#!/bin/sh
|
|
#
|
|
# makesrcdist - make a source distribution of mxml.
|
|
#
|
|
|
|
if test $# != 1; then
|
|
echo "Usage: ./makesrcdist version"
|
|
exit 1
|
|
fi
|
|
|
|
version=$1
|
|
|
|
echo Creating tag for release...
|
|
git tag -m "Tag $version" v$version
|
|
git push origin v$version
|
|
|
|
echo Creating mxml-$version.tar.gz...
|
|
git archive --format tar HEAD | gzip -v9 >mxml-$version.tar.gz
|
|
|