File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,15 @@ jobs:
22
22
echo "version=${VERSION#v}" >> "$GITHUB_OUTPUT"
23
23
24
24
- name : Update Application.php version
25
- run : |
26
- sed -i "s/const VERSION = '.*';/const VERSION = '${{ steps.version.outputs.version }}';/g" src/Illuminate/Foundation/Application.php
27
- git config --global user.name 'Taylor Otwell'
28
- git config --global user.email 'taylorotwell@users.noreply.github.com'
29
- git add src/Illuminate/Foundation/Application.php
30
- git commit -m "Update version to v${{ steps.version.outputs.version }}"
31
- git push origin ${{ github.ref_name }}
25
+ run : sed -i "s/const VERSION = '.*';/const VERSION = '${{ steps.version.outputs.version }}';/g" src/Illuminate/Foundation/Application.php
26
+
27
+ - name : Commit version change
28
+ uses : EndBug/add-and-commit@v9
29
+ with :
30
+ add : src/Illuminate/Foundation/Application.php
31
+ default_author : github_actions
32
+ message : " Update version to v${{ steps.version.outputs.version }}"
33
+ push : origin ${{ github.ref_name }}
32
34
33
35
- name : SSH into splitter server
34
36
uses : appleboy/ssh-action@master
You can’t perform that action at this time.
0 commit comments