Skip to content

Commit

Permalink
Prep for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Mar 23, 2017
1 parent d5687dd commit 5cd44d6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git* export-ignore
test export-ignore
makesrcdist export-ignore
18 changes: 18 additions & 0 deletions makesrcdist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/sh
#
# makesrcdist - make a source distribution of RasterView.
#

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 rasterview-$version.tar.gz...
git archive --format tar HEAD | gzip -v9 >rasterview-$version.tar.gz

0 comments on commit 5cd44d6

Please sign in to comment.