FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 546bfabc authored by Dr Rich Wareham's avatar Dr Rich Wareham
Browse files

fix: ensure OpenAPI artefact paths exist in before_scripts

parent 06a51efe
No related branches found
No related tags found
1 merge request!58feat: add OpenAPI schema to release artefacts
Pipeline #653147 passed
......@@ -69,6 +69,8 @@ openapi:schema:version:
image:
name: $OPENAPI_GENERATOR_YQ_IMAGE
entrypoint: [""]
before_script:
- mkdir -p $(dirname "$OPENAPI_GENERATOR_SCHEMA_VERSION_ARTIFACT")
script:
- yq -r ".info.version" "$OPENAPI_GENERATOR_SCHEMA_ARTIFACT_PATH" >"$OPENAPI_GENERATOR_SCHEMA_VERSION_ARTIFACT"
artifacts:
......
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