Skip to content

Commit 44f177f

Browse files
committed
make deploy more complete
also fix minor warning about maintainer in setup.py
1 parent 2a152bd commit 44f177f

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Diff for: Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
VERSION := $(shell python setup.py --version)
2+
13
setup:
24
test -e env || virtualenv env
35
./env/bin/pip install -r requirements.txt --upgrade
@@ -14,8 +16,12 @@ ci-test:
1416
py.test tests
1517

1618
deploy: setup
19+
git tag $(VERSION)
20+
git push --tags
1721
rm dist/*
18-
python setup.py sdist
19-
twine upload dist/*
22+
./env/bin/python setup.py sdist
23+
gpg --detach-sign -a dist/dnsimple-$(VERSION).tar.gz
24+
./env/bin/pip install twine --upgrade
25+
./env/bin/twine upload dist/*
2026

2127
.PHONY: test

Diff for: setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
version=dnsimple.__version__,
1414
description=u' '.join(dnsimple.__doc__.splitlines()).strip(),
1515
long_description=readme,
16+
maintainer='David Aronsohn',
17+
maintainer_email='[email protected]',
1618
packages=find_packages(),
1719
include_package_data=True,
1820
zip_safe=False,

0 commit comments

Comments
 (0)