fix in ci again
This commit is contained in:
@ -23,6 +23,12 @@ versionize:
|
||||
- dockerize
|
||||
when: manual
|
||||
allow_failure: false
|
||||
before_script:
|
||||
- PKG_VERSION=$(echo -e "import yaml\nwith open('openapi.yaml') as f:d=yaml.load(f)\nprint d['info']['version']" | python)
|
||||
- REFCNT=$(git rev-list --count ${CI_COMMIT_SHA})
|
||||
- VERSION=${PKG_VERSION}.${REFCNT}.${CI_COMMIT_REF_NAME}
|
||||
- API_VERSION="1.0.0"
|
||||
- API_MAJOR_VERSION=1
|
||||
script:
|
||||
- echo $INSTANCE_SPECIFIER > instance.txt
|
||||
- echo -n $API_VERSION > api_version.txt
|
||||
|
Reference in New Issue
Block a user