File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3737 id : check-updates
3838 run : |
3939 # Get current version from the OpenAI package.json file
40- CURRENT_VERSION=$(node -p "require('./package.json').dependencies['@typespec/http-client-csharp']" 2>/dev/null || echo "unknown")
40+ CURRENT_VERSION=$(node -p "require('.codegen /package.json').dependencies['@typespec/http-client-csharp']" 2>/dev/null || echo "unknown")
4141
4242 echo "Current OpenAI version: $CURRENT_VERSION"
4343
Original file line number Diff line number Diff line change 6666 Push-Location $RepoPath
6767
6868 # Get current version from package.json files
69- $openAiPackageJsonPath = " package.json"
69+ $openAiPackageJsonPath = " codegen/ package.json"
7070
7171 if (-not (Test-Path $openAiPackageJsonPath )) {
7272 throw " OpenAI package.json not found at: $openAiPackageJsonPath "
@@ -153,7 +153,7 @@ try {
153153
154154 # Add and commit changes
155155 Write-Log " Adding and committing changes"
156- git add package.json
156+ git add codegen / package.json
157157 git add codegen/ generator/ src/ OpenAI.Library.Plugin.csproj
158158 git add package- lock.json
159159 git add ./ # Add any generated code changes
You can’t perform that action at this time.
0 commit comments