FAQ | This is a LIVE service | Changelog

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

Merge branch 'enable-publication-on-commit' into 'main'

fix: ensure OpenAPI packages are published for tagged releases

See merge request !73
parents 9efcfaf6 aa230b1a
No related branches found
No related tags found
1 merge request!73fix: ensure OpenAPI packages are published for tagged releases
Pipeline #672046 passed
......@@ -33,3 +33,9 @@ openapi:schema:
script:
- cp secrets.env.in secrets.env
- docker compose run --rm manage spectacular --fail-on-warn --file "$OPENAPI_GENERATOR_SCHEMA_ARTIFACT_PATH"
# Set rules for when we publish OpenAPI client packages.
.openapi:publish:base:
rules:
# We publish packages for all commits tagged with what looks like a version number.
- if: $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.+[0-9]+.*/
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