Skip to content

Commit 162bffd

Browse files
committed
update
1 parent 9ff1ead commit 162bffd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v2
3131
- name: updatepackage
32-
if: github.event.inputs.tag != ''
33-
run: |
32+
if: github.event.inputs.tag != ''
33+
run: |
3434
sed -i "s/\"version\":.*$/\"version\": \"${{ github.event.inputs.tag }}\",/" package.json
3535
- name: change
36-
if: github.event.inputs.change != ''
37-
run: |
36+
if: github.event.inputs.change != ''
37+
run: |
3838
echo -e "## version ${{ github.event.inputs.tag }}\n\n- ${{ github.event.inputs.change }}\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
3939
- 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: |
4242
git config user.name ccagml
4343
git config user.email ccagml@163.com
4444
git add .

0 commit comments

Comments
 (0)