Moved the asg_template_version function to commands

1 job for 0.5.4 in 20 seconds
Status Job ID Name Coverage
failed #5955


Name Stage Failure
build_and_upload_python_package Python
  Found existing installation: setuptools 41.0.1
Uninstalling setuptools-41.0.1:
Successfully uninstalled setuptools-41.0.1
Successfully installed Pygments-2.5.2 SecretStorage-3.1.2 bleach-3.1.0 certifi-2019.11.28 cffi-1.13.2 chardet-3.0.4 cryptography-2.8 docutils-0.16 idna-2.8 importlib-metadata-1.4.0 jeepney-0.4.2 keyring-21.1.0 pkginfo- pycparser-2.19 readme-renderer-24.0 requests-2.22.0 requests-toolbelt-0.9.1 setuptools-45.1.0 six-1.14.0 tqdm-4.42.0 twine-3.1.1 urllib3-1.25.8 webencodings-0.5.1 zipp-2.1.0
WARNING: You are using pip version 19.1.1, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ if [ "$(python --version)" != "$CI_COMMIT_TAG" ]; then echo 'Tag does not match version'; exit 1; fi
Tag does not match version
ERROR: Job failed: exit code 1