From: Bob Halley Date: Tue, 16 Jun 2020 15:33:12 +0000 (-0700) Subject: set rc1 in version X-Git-Tag: v2.0.0rc1~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23605fc35df05a190c06b51ac60dc76300e1226e;p=thirdparty%2Fdnspython.git set rc1 in version --- diff --git a/dns/version.py b/dns/version.py index a80242fa..4494d399 100644 --- a/dns/version.py +++ b/dns/version.py @@ -24,9 +24,9 @@ MINOR = 0 #: MICRO MICRO = 0 #: RELEASELEVEL -RELEASELEVEL = 0x0f +RELEASELEVEL = 0x0c #: SERIAL -SERIAL = 0 +SERIAL = 1 if RELEASELEVEL == 0x0f: #: version @@ -34,6 +34,9 @@ if RELEASELEVEL == 0x0f: elif RELEASELEVEL == 0x00: version = '%d.%d.%dx%d' % \ (MAJOR, MINOR, MICRO, SERIAL) +elif RELEASELEVEL == 0x0c: + version = '%d.%d.%drc%d' % \ + (MAJOR, MINOR, MICRO, SERIAL) else: version = '%d.%d.%d%x%d' % \ (MAJOR, MINOR, MICRO, RELEASELEVEL, SERIAL) diff --git a/pyproject.toml b/pyproject.toml index f2d28bbf..793e55f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dnspython" -version = "2.0.0" +version = "2.0.0rc1" description = "DNS toolkit" authors = ["Bob Halley "] license = "ISC" diff --git a/setup.py b/setup.py index 496642f4..226e102d 100755 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ import sys from setuptools import setup -version = '2.0.0' +version = '2.0.0rc1' try: sys.argv.remove("--cython-compile")