Skip to content

Commit 1d9b47e

Browse files
committed
ci: Fix Windows make
1 parent 1769dab commit 1d9b47e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/make.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Set version
4747
run: |
48-
powershell -Command "(gc .\package.json) -replace '"version": ".*"', '"version": \"$($env:VERSION)\"' | Set-Content .\package.json"
48+
powershell -Command "(gc .\package.json) -replace '0.0.0', '$($env:VERSION)' | Set-Content .\package.json"
4949
5050
- name: Install dependencies with Yarn
5151
run: yarn install

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "GitHelper",
3-
"version": "1.0.0",
3+
"version": "0.0.0",
44
"description": "One-click Git setup for username and email.",
55
"main": "main/main.js",
66
"dependencies": {

0 commit comments

Comments
 (0)