From e8d9a4adffe8b469de320d935e74472e51effa0c Mon Sep 17 00:00:00 2001 From: trev Date: Tue, 13 May 2025 18:19:47 -0400 Subject: [PATCH] feat: bump openapi version --- .scripts/bump.sh | 5 +++++ openapi.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.scripts/bump.sh b/.scripts/bump.sh index 701a47c..72ce560 100755 --- a/.scripts/bump.sh +++ b/.scripts/bump.sh @@ -5,6 +5,11 @@ git_version=$(git describe --tags --abbrev=0) version=${git_version#v} next_version=$(echo "${version}" | awk -F. -v OFS=. '{$NF += 1 ; print}') +echo "bumping openapi" +cd "${git_root}" +sed -i -e "s/${version}/${next_version}/g" openapi.yaml +git add openapi.yaml + echo "bumping client" cd "${git_root}/client" npm version "${next_version}" diff --git a/openapi.yaml b/openapi.yaml index 74a19f3..12e2201 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3,7 +3,7 @@ servers: - url: /grpc info: title: Trevstack API - version: 1.0.0 + version: 0.0.24 description: API for Trevstack contact: name: Trev