fix powershell again
This commit is contained in:
parent
0bd7438c18
commit
724d1fa94b
|
|
@ -72,10 +72,10 @@ jobs:
|
||||||
$WINDOWS_VERSION = $VERSION
|
$WINDOWS_VERSION = $VERSION
|
||||||
}
|
}
|
||||||
Copy-Item src-tauri/tauri.conf.json -Destination src-tauri/tauri.windows.conf.json
|
Copy-Item src-tauri/tauri.conf.json -Destination src-tauri/tauri.windows.conf.json
|
||||||
|
|
||||||
# Modify the version in tauri.windows.conf.json
|
# Modify the version in tauri.windows.conf.json
|
||||||
(Get-Content src-tauri/tauri.windows.conf.json) | ForEach-Object {
|
(Get-Content src-tauri/tauri.windows.conf.json) | ForEach-Object {
|
||||||
$_ -replace '"version": ".*"', '"version": "' + $WINDOWS_VERSION + '"'
|
$_ -replace '"version": ".*"', ('"version": "' + $WINDOWS_VERSION + '"')
|
||||||
} | Set-Content src-tauri/tauri.windows.conf.json
|
} | Set-Content src-tauri/tauri.windows.conf.json
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue