File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -30,14 +30,17 @@ jobs:
30
30
run : |
31
31
find . -maxdepth 1 -not -path "./src" -not -path "./composer.json" -not -path "./LICENSE.md" -not -path "./README.md" -not -path "." -print0 | xargs -0 rm -rf
32
32
33
- - name : Git add
34
- run : git add .
35
-
36
33
- 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 }}"
41
37
42
- - name : Git push tags
43
- run : git push origin v${{ steps.version.outputs.version }}
38
+ - name : Create release
39
+ uses : softprops/action-gh-release@v2
40
+ env :
41
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
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 }}"
You can’t perform that action at this time.
0 commit comments