Prep for first beta release.

This commit is contained in:
Michael R Sweet 2021-08-30 16:31:00 -04:00
parent 3594b9cfcb
commit c53ad2a447
No known key found for this signature in database
GPG Key ID: 999559A027815955
2 changed files with 21 additions and 0 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
.git* export-ignore
makesrcdist export-ignore

19
makesrcdist Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
#
# makesrcdist - make a source distribution of pdfio.
#
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 pdfio-$version.tar.gz...
git archive --format tar --prefix=pdfio-$version/ HEAD | gzip -v9 >pdfio-$version.tar.gz
gpg --detach-sign pdfio-$version.tar.gz