diff --git a/build_release_windows.ps1 b/build_release_windows.ps1 index 7e55363..f695807 100644 --- a/build_release_windows.ps1 +++ b/build_release_windows.ps1 @@ -1,7 +1,7 @@ -Get-ChildItem "Cargo.toml" | % { +Get-ChildItem "Cargo.toml" | ForEach-Object { $conf = $_ | Get-Content -raw $conf -match 'version\s+=\s+"(.*)"' | out-null - $POLARIS_VERSION = $matches[1] + $script:POLARIS_VERSION = $matches[1] } "Compiling resource file"