@@ -10,17 +10,17 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v2
13-
13+
1414 - name : Gets semantic release info
1515 id : semantic_release_info
16161717 env :
1818 GITHUB_TOKEN : ${{ github.token }}
19-
19+
2020 - name : Update version in manifest.json
2121 if : steps.semantic_release_info.outputs.version != ''
2222 run : bash .github/workflows/updateVersionInManifest.sh ${{ steps.semantic_release_info.outputs.version }}
23-
23+
2424 - name : Commit files
2525 if : steps.semantic_release_info.outputs.version != ''
2626 run : |
@@ -29,29 +29,29 @@ jobs:
2929 git add -A
3030 git commit -m "docs(): bumping release ${{ steps.semantic_release_info.outputs.git_tag }}"
3131 git tag ${{ steps.semantic_release_info.outputs.git_tag }}
32-
32+
3333 - name : Push changes
34343535 if : steps.semantic_release_info.outputs.version != ''
3636 with :
3737 branch : ${{ github.ref }}
3838 github_token : ${{ github.token }}
3939 tags : true
40-
40+
4141 - name : Archive extension files
4242 uses : thedoctor0/zip-release@master
4343 if : steps.semantic_release_info.outputs.version != ''
4444 with :
4545 type : ' zip'
4646 filename : ' LinkOff.zip'
47- exclusions : ' *.git* /*node_modules/* /*assets/* README.md package*'
48-
47+ exclusions : ' *.git* /*node_modules/* /*assets/* README.md package* .* yarn.lock '
48+
4949 - name : Create release
5050 uses : ncipollo/release-action@v1
5151 if : steps.semantic_release_info.outputs.version != ''
5252 with :
5353 tag : ${{ steps.semantic_release_info.outputs.git_tag }}
5454 name : ${{ steps.semantic_release_info.outputs.git_tag }}
5555 body : ${{ steps.semantic_release_info.outputs.notes }}
56- artifacts : " LinkOff.zip"
56+ artifacts : ' LinkOff.zip'
5757 token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments