File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,8 +136,14 @@ jobs:
136136 run : |
137137 # Run the CI pipeline
138138 $versionBump = "${{ github.event.inputs.version-bump }}"
139- if ([string]::IsNullOrEmpty($versionBump)) { $versionBump = "auto" }
140- dotnet run --project "${{ runner.temp }}/KtsuBuild/KtsuBuild.CLI" -- ci --workspace "${{ github.workspace }}" --verbose --version-bump $versionBump
139+
140+ # Build the command - only add --version-bump if explicitly set (for backward compatibility during bootstrap)
141+ $command = "ci --workspace `"${{ github.workspace }}`" --verbose"
142+ if (![string]::IsNullOrEmpty($versionBump) -and $versionBump -ne "auto") {
143+ $command += " --version-bump $versionBump"
144+ }
145+
146+ dotnet run --project "${{ runner.temp }}/KtsuBuild/KtsuBuild.CLI" -- $command
141147
142148 # Set outputs for downstream jobs
143149 $version = (Get-Content "${{ github.workspace }}/VERSION.md" -Raw).Trim()
You can’t perform that action at this time.
0 commit comments