File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,11 @@ jobs:
15
15
- name : Install dependencies
16
16
run : npm install
17
17
18
- - name : Bump version
19
- run : npm version major
20
-
21
- - name : Push changes
18
+ - name : Bump and Push changes
22
19
run : |
23
20
git config user.name "github-actions"
24
21
git config user.email "github-actions@github.com"
22
+ npm version major
25
23
git checkout -b release-version-$(jq -r '.version' package.json)
26
24
git add package.json
27
25
git commit -m "Bump version"
Original file line number Diff line number Diff line change @@ -15,13 +15,11 @@ jobs:
15
15
- name : Install dependencies
16
16
run : npm install
17
17
18
- - name : Bump version
19
- run : npm version minor
20
-
21
- - name : Push changes
18
+ - name : Bump and Push changes
22
19
run : |
23
20
git config user.name "github-actions"
24
21
git config user.email "github-actions@github.com"
22
+ npm version minor
25
23
git checkout -b release-version-$(jq -r '.version' package.json)
26
24
git add package.json
27
25
git commit -m "Bump version"
Original file line number Diff line number Diff line change @@ -15,13 +15,11 @@ jobs:
15
15
- name : Install dependencies
16
16
run : npm install
17
17
18
- - name : Bump version
19
- run : npm version patch
20
-
21
18
- name : Push changes
22
19
run : |
23
20
git config user.name "github-actions"
24
21
git config user.email "github-actions@github.com"
22
+ npm version patch
25
23
git checkout -b release-version-$(jq -r '.version' package.json)
26
24
git add package.json
27
25
git commit -m "Bump version"
You can’t perform that action at this time.
0 commit comments