Skip to content

Commit dfe9eee

Browse files
committed
fix(ci): update versioning step
1 parent 416fa5e commit dfe9eee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ jobs:
3939
- name: Build
4040
run: pnpm build
4141

42-
- name: Write version
42+
- name: Update version
4343
run: |
4444
VERSION=$(yq '.info.version' openapi.yaml | tr -d '"')
45-
jq --arg version "${VERSION}-alpha.0" '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
45+
46+
pnpm version ${VERSION} --no-git-tag-version
47+
pnpm version prerelease --no-git-tag-version --preid next
4648
4749
- name: Release
4850
run: |

0 commit comments

Comments
 (0)