We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1769dab commit afcf946Copy full SHA for afcf946
.github/workflows/make.yml
@@ -45,7 +45,9 @@ jobs:
45
46
- name: Set version
47
run: |
48
- powershell -Command "(gc .\package.json) -replace '"version": ".*"', '"version": \"$($env:VERSION)\"' | Set-Content .\package.json"
+ $content = Get-Content -Path "package.json"
49
+ $content = $content -replace '"version": "\..*"', '"version": "' + $VERSION + '"'
50
+ Set-Content -Path "package.json" -Value $content
51
52
- name: Install dependencies with Yarn
53
run: yarn install
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "GitHelper",
3
- "version": "1.0.0",
+ "version": "0.0.0",
4
"description": "One-click Git setup for username and email.",
5
"main": "main/main.js",
6
"dependencies": {
0 commit comments