We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eda598 commit d7244c7Copy full SHA for d7244c7
scripts/Submit-GeneratorUpdatePr.ps1
@@ -213,6 +213,16 @@ try {
213
} catch {
214
Write-Warning-Log "OpenAI code generation failed: $_"
215
}
216
+ Pop-Location
217
+
218
+ # Export the API
219
+ Write-Log "Updating API"
220
+ Push-Location "."
221
+ try {
222
+ pwsh scripts/Export-Api.ps1
223
+ } catch {
224
+ Write-Warning-Log "Exporting API failed: $_"
225
+ }
226
Pop-Location
227
228
# Check if there are changes to commit
@@ -230,6 +240,7 @@ try {
230
240
Write-Log "Adding and committing changes"
231
241
git add codegen/package.json
232
242
git add codegen/generator/src/OpenAI.Library.Plugin.csproj
243
+ git add api
233
244
git add package-lock.json
234
245
git add ./ # Add any generated code changes
235
246
0 commit comments