File tree 2 files changed +21
-2
lines changed
2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 3
3
set -exuo pipefail
4
4
5
5
rm -rf deno; mkdir deno
6
- cp -rp src/* README.md deno
6
+ cp -rp src/* deno
7
+
8
+ cat << EOF > deno/README.md
9
+ # OpenAI Node API Library - Deno build
10
+
11
+ This is a build produced from openai/openai-node - please go there to read the source, file issues, etc.
12
+
13
+ Installation:
14
+
15
+ \`\`\`
16
+ import OpenAI from "https://deno.land/x/openai";
17
+ \`\`\`
18
+
19
+ Note that in many Deno environments, you can also do this:
20
+
21
+ \`\`\`
22
+ import OpenAI from "npm:openai";
23
+ \`\`\`
24
+ EOF
25
+
7
26
rm deno/_shims/auto/* -node.ts
8
27
for dir in deno/_shims deno/_shims/auto; do
9
28
rm " ${dir} " /* .{d.ts,js,mjs}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ die () {
31
31
: " ${DENO_MAIN_BRANCH:= main} "
32
32
: " ${DENO_PUSH_REMOTE_URL:= $(git remote get-url origin)} "
33
33
: " ${DENO_GIT_USER_NAME:= " Stainless Bot" } "
34
- : " ${DENO_GIT_USER_NAME := " bot@stainlessapi.com" } "
34
+ : " ${DENO_GIT_USER_EMAIL := " bot@stainlessapi.com" } "
35
35
if [[ $DENO_PUSH_BRANCH = " deno" ]]; then
36
36
: " ${DENO_PUSH_RELEASE_TAG:= " v$DENO_PUSH_VERSION -deno" } "
37
37
else
You can’t perform that action at this time.
0 commit comments