Skip to content

Commit 16265f2

Browse files
committed
fix(ci)?: gh uses a different yq
1 parent bbba9ba commit 16265f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ jobs:
154154
echo "version=$version" >> $GITHUB_ENV
155155
156156
jq --arg version "$version" '.info.version = $version' dist/openapi.json > dist/.openapi.json && mv dist/.openapi.json dist/openapi.json
157-
yq --arg version "$version" '.info.version = $version' dist/openapi.yaml > dist/.openapi.yaml && mv dist/.openapi.yaml dist/openapi.yaml
158-
157+
yq eval ".info.version = \"$version\"" -i dist/openapi.yaml
158+
159159
gh release create v$version dist/* \
160160
--generate-notes \
161161
--prerelease

0 commit comments

Comments
 (0)