Skip to content

Commit

Permalink
Fix bump for Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Dec 28, 2017
1 parent da2cd82 commit 2c8f132
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ notifications:
deploy:
provider: pypi
user: Almad
distributions: "sdist bdist_wheel"
password:
secure: W+lni4zSYg0CA4ju7jjSdDx5vt1jUsNpsS98amdOu34ycKTJL9WAEXmi4Ye1dqP37Rm4ZBln9h9USQ+NiGSMGKNcG3dZKYb3PklEGdxqSiGV2EFrTZEVEfDhGflV4vUfqcv1Zy7ms+A0n+GmLgp1nneEgXHgoWGdIP19HyGthag=
on:
Expand Down
2 changes: 1 addition & 1 deletion pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def release():
@consume_args
def bump(args):
import paver.version
version = map(int, paver.version.VERSION.split('.')[0:3])
version = list(map(int, paver.version.VERSION.split('.')[0:3]))

if len(args) > 0 and args[0] == 'major':
version[1] += 1
Expand Down

0 comments on commit 2c8f132

Please sign in to comment.