From 1d9b47eea537efe0f84097970c98653f6022a2db Mon Sep 17 00:00:00 2001 From: Lee Date: Thu, 12 Dec 2024 20:11:46 +0800 Subject: [PATCH] ci: Fix Windows make --- .github/workflows/make.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index 6591195..d9ec0f7 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -45,7 +45,7 @@ jobs: - name: Set version run: | - powershell -Command "(gc .\package.json) -replace '"version": ".*"', '"version": \"$($env:VERSION)\"' | Set-Content .\package.json" + powershell -Command "(gc .\package.json) -replace '0.0.0', '$($env:VERSION)' | Set-Content .\package.json" - name: Install dependencies with Yarn run: yarn install diff --git a/package.json b/package.json index b2538dd..29723e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "GitHelper", - "version": "1.0.0", + "version": "0.0.0", "description": "One-click Git setup for username and email.", "main": "main/main.js", "dependencies": {