diff --git a/.github/workflows/follow-up.yaml b/.github/workflows/follow-up.yaml index e606ebd..5677996 100644 --- a/.github/workflows/follow-up.yaml +++ b/.github/workflows/follow-up.yaml @@ -31,7 +31,7 @@ jobs: - name: Update Version run: | file=unofficial-documentation/tsp-output/@typespec/openapi3/openapi.yaml - version=$(sed -rn 's/\s+version:\s*"([^"]+)"/\1/p' $file | sed -rn 's/\.0+([0-9]+)/.\1/p') + version=$(sed -rn 's/\s+version:\s*([^\n]+)/\1/p' $file | sed -rn 's/\.0+([0-9]+)/.\1/p') sed -ri ":a;N;\$!ba;s/\"solvedac_api\"\nversion = \"[^\"]+\"/\"solvedac_api\"\nversion = \"$version\"/" Cargo.toml - name: Move Generated Files run: | diff --git a/openapitools.json b/openapitools.json index 601ac1d..747eaf0 100644 --- a/openapitools.json +++ b/openapitools.json @@ -1,5 +1,4 @@ { - "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { "version": "5.2.1"