Skip to content

Commit 7626655

Browse files
authored
Merge pull request #520 from openai/release-please--branches--master--changes--next--components--openai
release: 4.19.1
2 parents 6e2df3d + 12dca25 commit 7626655

File tree

8 files changed

+23
-8
lines changed

8 files changed

+23
-8
lines changed

.github/workflows/create-releases.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ jobs:
2020
repo: ${{ github.event.repository.full_name }}
2121
stainless-api-key: ${{ secrets.STAINLESS_API_KEY }}
2222

23+
- name: Generate a token
24+
id: generate_token
25+
uses: actions/create-github-app-token@v1
26+
with:
27+
app-id: ${{ secrets.APP_ID }}
28+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
29+
owner: 'openai'
30+
repositories: 'openai-node,openai-deno-build'
31+
2332
- name: Set up Node
2433
if: ${{ steps.release.outputs.releases_created }}
2534
uses: actions/setup-node@v3
@@ -48,4 +57,6 @@ jobs:
4857
if: ${{ steps.release.outputs.releases_created }}
4958
run: |
5059
bash ./scripts/git-publish-deno.sh
51-
env: {}
60+
env:
61+
DENO_PUSH_REMOTE_URL: https://username:${{ steps.generate_token.outputs.token }}@github.com/openai/openai-deno-build.git
62+
DENO_PUSH_BRANCH: main

.github/workflows/publish-deno.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
environment: publish
1212

1313
steps:
14+
- uses: actions/checkout@v3
15+
1416
- name: Generate a token
1517
id: generate_token
1618
uses: actions/create-github-app-token@v1
@@ -20,8 +22,6 @@ jobs:
2022
owner: 'openai'
2123
repositories: 'openai-node,openai-deno-build'
2224

23-
- uses: actions/checkout@v3
24-
2525
- name: Set up Node
2626
uses: actions/setup-node@v3
2727
with:

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "4.19.0"
2+
".": "4.19.1"
33
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 4.19.1 (2023-11-20)
4+
5+
Full Changelog: [v4.19.0...v4.19.1](https://github.com/openai/openai-node/compare/v4.19.0...v4.19.1)
6+
37
## 4.19.0 (2023-11-15)
48

59
Full Changelog: [v4.18.0...v4.19.0](https://github.com/openai/openai-node/compare/v4.18.0...v4.19.0)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can import in Deno via:
2121
<!-- x-release-please-start-version -->
2222

2323
```ts
24-
import OpenAI from 'https://deno.land/x/openai@v4.19.0/mod.ts';
24+
import OpenAI from 'https://deno.land/x/openai@v4.19.1/mod.ts';
2525
```
2626

2727
<!-- x-release-please-end -->

build-deno

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is a build produced from https://github.com/openai/openai-node – please g
1414
Usage:
1515
1616
\`\`\`ts
17-
import OpenAI from "https://deno.land/x/openai@v4.19.0/mod.ts";
17+
import OpenAI from "https://deno.land/x/openai@v4.19.1/mod.ts";
1818
1919
const client = new OpenAI();
2020
\`\`\`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openai",
3-
"version": "4.19.0",
3+
"version": "4.19.1",
44
"description": "Client library for the OpenAI API",
55
"author": "OpenAI <support@openai.com>",
66
"types": "dist/index.d.ts",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '4.19.0'; // x-release-please-version
1+
export const VERSION = '4.19.1'; // x-release-please-version

0 commit comments

Comments
 (0)