Skip to content

Commit

Permalink
Merge pull request #1502 from ethanwhite/release-docs
Browse files Browse the repository at this point in the history
Update docs on how to upload release to PyPI
  • Loading branch information
henrykironde committed Jul 17, 2020
2 parents 7cde00d + a728b02 commit b22fc07
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3.0.0
current_version = 3.0.1-dev
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
Expand Down
5 changes: 4 additions & 1 deletion docs/developer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ Start
Pypi
^^^^

1. `sudo python setup.py sdist bdist_wheel upload`
You will need to create an API key on PyPI and store it in ~/.pypirc to upload to PyPI.

1. `sudo python setup.py sdist bdist_wheel`
2. `sudo python -m twine upload -r pypi dist/*`

Cleanup
^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion retriever/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = 'v3.0.0'
__version__ = 'v3.0.1-dev'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if os.path.exists(app_data):
os.system("rm -r {}".format(app_data))

__version__ = 'v3.0.0'
__version__ = 'v3.0.1-dev'
with open(os.path.join("retriever", "_version.py"), "w") as version_file:
version_file.write("__version__ = " + "'" + __version__ + "'\n")
version_file.close()
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
v3.0.0
v3.0.1-dev
abalone_age.json,1.2.2
acton_lake.json,1.0.0
airports.json,1.0.3
Expand Down

0 comments on commit b22fc07

Please sign in to comment.