Skip to content

Commit 30cf3a5

Browse files
update release flow to commit docs changes on version change
1 parent 1937304 commit 30cf3a5

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/release-prod.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,25 @@ jobs:
126126
echo "Updated version.ts with version v$VERSION"
127127
cat packages/shared/src/version.ts
128128
129+
- name: Setup Node.js
130+
uses: actions/setup-node@v4
131+
with:
132+
node-version: '20.x'
133+
134+
- name: Install dependencies
135+
run: yarn install --frozen-lockfile
136+
137+
- name: Generate OpenAPI docs
138+
run: yarn openapi:generate
139+
129140
- name: Configure git
130141
run: |
131142
git config user.name "github-actions[bot]"
132143
git config user.email "github-actions[bot]@users.noreply.github.com"
133144
134145
- name: Commit changes
135146
run: |
136-
git add CHANGELOG.md packages/shared/src/version.ts
147+
git add CHANGELOG.md packages/shared/src/version.ts docs/api-reference/sourcebot-public.openapi.json
137148
git commit -m "[skip ci] Release v$VERSION"
138149
139150
- name: Push to temporary branch

docs/api-reference/sourcebot-public.openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi": "3.0.3",
33
"info": {
44
"title": "Sourcebot Public API",
5-
"version": "v4.15.4",
5+
"version": "v4.15.5",
66
"description": "OpenAPI description for the public Sourcebot REST endpoints used for search, repository listing, and file browsing."
77
},
88
"tags": [

0 commit comments

Comments
 (0)