File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,20 @@ jobs:
28
28
- name : Build NPM package
29
29
run : npm run build
30
30
31
+ - name : Edit Inital Version
32
+ run : sed -i 's/\( FIRST_RELEASE\) = "1.0.0"/\1 = "3.0.0"/' node_modules/semantic-release/lib/definitions/constants.js
33
+ - name : Edit Inital Version
34
+ run : sed -i 's/\( FIRSTPRERELEASE\) = "1"/\1 = "3"/' node_modules/semantic-release/lib/definitions/constants.js
35
+
31
36
- name : Create Release
32
37
if : github.event_name == 'push'
33
38
env :
34
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
40
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
36
- run : npx semantic-release
41
+ run : npm run semantic-release
37
42
38
43
- name : Dry Run Release
39
44
if : github.event_name == 'pull_request'
40
45
env :
41
46
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
- run : npx semantic-release --dry-run
47
+ run : npm run semantic-release --dry-run
Original file line number Diff line number Diff line change 11
11
"dev" : " tsc -w" ,
12
12
"pub" : " npm run build && npm publish" ,
13
13
"pub@beta" : " npm run build && npm publish --tag beta" ,
14
+ "semantic-release" : " semantic-release" ,
14
15
"lint" : " biome check ."
15
16
},
16
17
"repository" : {
You can’t perform that action at this time.
0 commit comments