Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Commit

Permalink
Only replace first replace flag (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamkbentley authored Aug 3, 2021
1 parent 93b9570 commit f4b0509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: git config
- run: npm ci
- run: npx run-s lint build build:backend:webpack
- run: ((Get-Content -path ./build/app/main.js -Raw) -replace 'REPLACE_WITH_CLIENT_ID', ${env:IMJS_ELECTRON_CLIENT_ID}) | Set-Content -Path ./build/app/main.js
- run: ([Regex]'REPLACE_WITH_CLIENT_ID').Replace((Get-Content -path ./build/app/main.js -Raw), ${env:IMJS_ELECTRON_CLIENT_ID}, 1) | Set-Content -Path ./build/app/main.js
shell: powershell
name: set client id
- run: npm run build:dist
Expand Down

0 comments on commit f4b0509

Please sign in to comment.