Skip to content

Commit 81128e2

Browse files
authored
Update version script (#1138)
1 parent 75bcf07 commit 81128e2

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/release.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77

88
jobs:
99
changelog:
10-
name: Changelog PR or Release
1110
runs-on: ubuntu-latest
1211
steps:
1312
- uses: actions/checkout@v3
@@ -20,15 +19,12 @@ jobs:
2019
node-version: 20
2120
- run: pnpm i
2221
- run: pnpm run build
23-
- name: Create Release Pull Request or Publish
24-
id: changesets
25-
uses: changesets/action@v1
22+
- uses: changesets/action@v1
2623
with:
27-
version: pnpm exec changeset version
24+
version: pnpm run version
2825
publish: pnpm exec changeset publish
2926
commit: "[ci] release"
3027
title: "[ci] release"
3128
env:
3229
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
# npm token temporarily disabled for debugging
34-
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"lint:openapi-fetch": "cd packages/openapi-fetch && pnpm run lint",
1717
"test": "run-p -s test:*",
1818
"test:openapi-typescript": "cd packages/openapi-typescript && pnpm test",
19-
"test:openapi-fetch": "cd packages/openapi-fetch && pnpm test"
19+
"test:openapi-fetch": "cd packages/openapi-fetch && pnpm test",
20+
"version": "pnpm run build && changeset version && pnpm i"
2021
},
2122
"devDependencies": {
2223
"@changesets/changelog-github": "^0.4.8",

packages/openapi-typescript/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Patch Changes
66

7-
- 7d09c3b: Support nested path parameters in `--path-params-as-types`
7+
- 7d09c3b: Support nested path parameters in `--path-params-as-types` (#1130). Thanks, [barakalon](https://github.com/barakalon)!
88

99
## 6.2.4
1010

0 commit comments

Comments
 (0)