Browse Source

Merge pull request #224 from github/fix-rel-with-twine

Add twine dev requirement, use it in script/release
pull/226/head
Ross McFarland 8 years ago
committed by GitHub
parent
commit
b0b6e5cd70
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions
  1. +2
    -1
      script/release
  2. +1
    -0
      setup.cfg

+ 2
- 1
script/release View File

@ -10,5 +10,6 @@ VERSION=$(grep __VERSION__ $ROOT/octodns/__init__.py | sed -e "s/.* = '//" -e "s
git tag -s v$VERSION -m "Release $VERSION" git tag -s v$VERSION -m "Release $VERSION"
git push origin v$VERSION git push origin v$VERSION
echo "Tagged and pushed v$VERSION" echo "Tagged and pushed v$VERSION"
python setup.py sdist upload
python setup.py sdist
twine upload dist/*$VERSION.tar.gz
echo "Uploaded $VERSION" echo "Uploaded $VERSION"

+ 1
- 0
setup.cfg View File

@ -58,6 +58,7 @@ dev =
ovh>=0.4.7 ovh>=0.4.7
s3transfer>=0.1.10 s3transfer>=0.1.10
six>=1.10.0 six>=1.10.0
twine>=1.11.0
test = test =
coverage coverage
mock mock


Loading…
Cancel
Save