Skip to content

Commit afcf946

Browse files
committed
test
1 parent 1769dab commit afcf946

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/make.yml

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

4646
- name: Set version
4747
run: |
48-
powershell -Command "(gc .\package.json) -replace '"version": ".*"', '"version": \"$($env:VERSION)\"' | Set-Content .\package.json"
48+
$content = Get-Content -Path "package.json"
49+
$content = $content -replace '"version": "\..*"', '"version": "' + $VERSION + '"'
50+
Set-Content -Path "package.json" -Value $content
4951
5052
- name: Install dependencies with Yarn
5153
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)