We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0ba969 commit 1f3b578Copy full SHA for 1f3b578
.github/workflows/ci.yaml
@@ -154,8 +154,8 @@ jobs:
154
version=$(pnpm semver ${{ env.version }} -i)-nightly.$(git rev-list --count "${{ env.version_sha }}"..HEAD)
155
echo "version=$version" >> $GITHUB_ENV
156
157
- jq ".info.version = \"${{ env.version }}\"" dist/openapi.json > dist/.openapi.json && mv dist/.openapi.json dist/openapi.json
158
- yq eval ".info.version = \"${{ env.version }}\"" -i dist/openapi.yaml
+ jq --arg v "$version" '.info.version = $v' dist/openapi.json > dist/.openapi.json && mv dist/.openapi.json dist/openapi.json
+ yq eval ".info.version = \"$version\"" -i dist/openapi.yaml
159
160
gh release create v${{ env.version }} dist/* \
161
--generate-notes \
0 commit comments