From e6996e368e6f247e8c1aaabc6a72894e3d05b806 Mon Sep 17 00:00:00 2001 From: Derek DeJonghe Date: Tue, 16 Jun 2020 15:40:16 -0400 Subject: [PATCH] fix typo --- semver/get_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semver/get_version.py b/semver/get_version.py index 9fb47d4..570b47d 100644 --- a/semver/get_version.py +++ b/semver/get_version.py @@ -31,7 +31,7 @@ def get_version(build=0,version_format=None,dot=False): bump_output = p.stdout.read().decode('utf-8').rstrip() next_version = re.search("new_version=([0-9]*.[0-9]*.[0-9]*)", bump_output).group(1) - if version_format in ('npm','docker'i): + if version_format in ('npm','docker'): return "{}-{}.{}".format(next_version,branch.replace('/','-'),build) if version_format == 'maven': qualifier = 'SNAPSHOT' if build == 0 else build