diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b52e09d..8b02d26 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,3 +2,8 @@ include: - project: "SharedLibraries/CommonCI/webservices-common-ci" ref: 1.x file: "webservices-gitlab-ci-template-dotnetcore.yml" + + +versionize: + before_script: + - VERSION=`echo -e "import yaml\nwith open('openapi.yaml') as f:d=yaml.load(f)\nprint d['info']['version']" | python`