File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,16 @@ jobs:
29
29
steps :
30
30
- uses : actions/checkout@v2
31
31
- name : updatepackage
32
- if : github.event.inputs.tag != ''
33
- run : |
32
+ if : github.event.inputs.tag != ''
33
+ run : |
34
34
sed -i "s/\"version\":.*$/\"version\": \"${{ github.event.inputs.tag }}\",/" package.json
35
35
- name : change
36
- if : github.event.inputs.change != ''
37
- run : |
36
+ if : github.event.inputs.change != ''
37
+ run : |
38
38
echo -e "## version ${{ github.event.inputs.tag }}\n\n- ${{ github.event.inputs.change }}\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
39
39
- name : commit
40
- if : github.event.inputs.tag != '' || github.event.inputs.change != ''
41
- run : |
40
+ if : github.event.inputs.tag != '' || github.event.inputs.change != ''
41
+ run : |
42
42
git config user.name ccagml
43
43
git config user.email ccagml@163.com
44
44
git add .
You can’t perform that action at this time.
0 commit comments