Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix version numbering #476

Merged
merged 3 commits into from
Nov 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hca/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def print_help(self, file=None):

def check_if_release_is_current(log):
"""Warns the user if their release is behind the latest PyPi __version__."""
if __version__ == '0.0.0':
if __version__.endswith('dev'):
return
client = xmlrpclib.ServerProxy('https://pypi.python.org/pypi')
latest_pypi_version = client.package_releases('hca')
Expand Down
2 changes: 1 addition & 1 deletion hca/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '6.0.1'
__version__ = '6.6.0dev'
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

import os
from setuptools import setup, find_packages
from hca.version import __version__

install_requires = [line.rstrip() for line in open(os.path.join(os.path.dirname(__file__), "requirements.txt"))]

setup(
name="hca",
version="6.5.0",
version=__version__,
url='https://github.com/HumanCellAtlas/dcp-cli',
license='Apache Software License',
author='Human Cell Atlas contributors',
Expand Down