From 85b741412529a86596bea41445edc46acfb98400 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Thu, 9 Jan 2020 17:39:14 +0100 Subject: [PATCH] RELEASE: fix 0.2.4rc0 --- release.sh | 4 ++-- setup.py | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/release.sh b/release.sh index 49ecd59b..dd469f3a 100644 --- a/release.sh +++ b/release.sh @@ -1,3 +1,3 @@ #!/bin/bash -python setup.py bdist_wheel -python -m twine upload dist/* +python setup.py sdist bdist_wheel +python -m twine upload -s dist/* diff --git a/setup.py b/setup.py index b461efca..7ab1f2c6 100755 --- a/setup.py +++ b/setup.py @@ -48,8 +48,9 @@ from setuptools import find_packages, setup MAJOR = 0 MINOR = 2 MICRO = 4 -ISRELEASED = False -VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) +PRE = "rc0" +ISRELEASED = True +VERSION = "{}.{}.{}{}".format(MAJOR, MINOR, MICRO, PRE) # Return the git revision as a string -- GitLab