File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,18 @@ jobs:
3030 run : |
3131 find . -maxdepth 1 -not -path "./src" -not -path "./.git" -not -path "./composer.json" -not -path "./LICENSE.md" -not -path "./README.md" -not -path "." -print0 | xargs -0 rm -rf
3232
33- - name : Git add
34- run : git add .
35-
3633 - name : Git commit
37- run : git commit -m "v${{ steps.version.outputs.version }}"
38-
39- - name : Git tag
40- run : git tag v${{ steps.version.outputs.version }}
34+ uses : stefanzweifel/git-auto-commit-action@v5
35+ with :
36+ commit_message : " Update version to v${{ steps.version.outputs.version }}"
4137
42- - name : Git push tags
38+ - name : Create release
39+ uses : softprops/action-gh-release@v2
4340 env :
4441 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45- run : git push origin v${{ steps.version.outputs.version }}
42+ with :
43+ tag_name : v${{ steps.version.outputs.version }}
44+ name : v${{ steps.version.outputs.version }}
45+ target_commitish : ${{ github.ref_name }}
46+ make_latest : " ${{ github.ref_name == github.event.repository.default_branch }}"
47+ if : startsWith(github.ref, 'refs/tags/')
You can’t perform that action at this time.
0 commit comments