Skip to content

Update version script #1138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
changelog:
name: Changelog PR or Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -20,15 +19,12 @@ jobs:
node-version: 20
- run: pnpm i
- run: pnpm run build
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
- uses: changesets/action@v1
with:
version: pnpm exec changeset version
version: pnpm run version
publish: pnpm exec changeset publish
commit: "[ci] release"
title: "[ci] release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# npm token temporarily disabled for debugging
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"lint:openapi-fetch": "cd packages/openapi-fetch && pnpm run lint",
"test": "run-p -s test:*",
"test:openapi-typescript": "cd packages/openapi-typescript && pnpm test",
"test:openapi-fetch": "cd packages/openapi-fetch && pnpm test"
"test:openapi-fetch": "cd packages/openapi-fetch && pnpm test",
"version": "pnpm run build && changeset version && pnpm i"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Patch Changes

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

## 6.2.4

Expand Down