mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-10-06 04:46:18 -04:00
fix: correct escaping in package.json modification for Windows in release workflow
This commit is contained in:
1 parent
1fd28696a4
commit
a2b22d2bb9
1 file changed
+1
-1
@@ -56,7 +56,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
|
||||
powershell -Command "(Get-Content package.json) -replace '\"productName\": \"([^\"]+)\"', '\"productName\": \"`$1-dev\"' | Set-Content package.json"
|
||||
powershell -Command "(Get-Content package.json) -replace '\"productName\": \"([^\"]+)\"', '\"productName\": \"\$1-dev\"' | Set-Content package.json"
|
||||
else
|
||||
sed -i.bak 's/"productName": "\([^"]*\)"/"productName": "\1-dev"/' package.json
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user