Skip to content
Snippets Groups Projects
Commit 30a1eb35 authored by Dominik Rimpf's avatar Dominik Rimpf :chipmunk:
Browse files

fix: post version can be none

parent f2f091e0
No related branches found
No related tags found
No related merge requests found
Pipeline #275789 passed
......@@ -15,7 +15,7 @@ for v in vers:
latest_previous_util_version = os.environ.get('LATEST_UTIL_VERSION', None)
latest_previous_api_version = os.environ.get('LATEST_API_VERSION', None)
post_version = os.environ.get('POST_NUM', None)
if not post_version.isdigit():
if post_version is not None and not post_version.isdigit():
post_version = None
def get_gen_version():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment