diff options
author | Matt Singleton <matt@xcolour.net> | 2018-03-07 17:58:48 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2018-03-07 17:58:48 -0500 |
commit | f0b2136c463f2effda5aa8adbab5ae5454334f22 (patch) | |
tree | fff828fc78bb86cc85f68cdcb6e969a0e589966c | |
parent | 91f3887e0041f8f12e2ac7df8612473784e397cf (diff) |
fiddle with travis package naming
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | setup.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index bd67b38..b230aac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,4 +18,4 @@ deploy: file: 'dist/*.whl' skip_cleanup: true on: - repo: xcolour/unbiased + tags: true @@ -5,10 +5,10 @@ buildnum = os.environ.get('TRAVIS_BUILD_NUMBER') if buildnum is None: version = '0.dev0' else: - version = buildnum + version = buildnum[:7] gitrev = os.environ.get('TRAVIS_COMMIT') if gitrev is not None: - version = '{}+{}'.format(version, gitrev) + version = '{}-{}'.format(version, gitrev) setup( name="unbiased", |