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 58694a5 commit 3f57cf2Copy full SHA for 3f57cf2
build.ps1
@@ -282,10 +282,10 @@ exec { tar -a -cf "bin\$filename" -C "build\openocd-install\$msysEnv\bin" '*' -C
282
283
# Package Risc-V separately as well
284
285
-$version = (. ".\build\riscv-install\$msysEnv\bin\riscv32-unknown-elf-gcc.exe" -dumpversion) -split '\.'
+$version = ((. ".\build\riscv-install\$msysEnv\bin\riscv32-unknown-elf-gcc.exe" -dumpversion) -split '\.')[0]
286
287
$filename = 'riscv-toolchain-{0}-{1}.zip' -f
288
- $version[0],
+ $version,
289
$suffix
290
291
Write-Host "Saving Risc-V toolchain package to $filename"
0 commit comments