Add targets to sign and upload distribution files.

This commit is contained in:
Bastian Kleineidam 2010-03-08 17:28:59 +01:00
parent acbf544d04
commit 96ea4ab200
1 changed files with 7 additions and 1 deletions

View File

@ -20,10 +20,16 @@ chmod:
dist:
git archive --format=tar --prefix=patool-$(VERSION)/ HEAD | gzip -9 > ../$(ARCHIVE)
sha1sum ../$(ARCHIVE) > ../$(ARCHIVE).sha1
[ ! -f ../$(ARCHIVE).asc ] && gpg --detach-sign --armor ../$(ARCHIVE)
# cd .. && zip -r - patool-git -x "**/.git/**" > $(HOME)/temp/share/patool-devel.zip
.PHONY: upload
upload:
rsync -avP -e ssh ../$(ARCHIVE)* calvin,patool@frs.sourceforge.net:/home/frs/project/p/pa/patool/$(VERSION)/
.PHONY: release
release: clean releasecheck dist
release: clean releasecheck dist upload
@echo "Register at Python Package Index..."
python setup.py register