Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Jan 30, 2024
1 parent 95b6db5 commit a2475b1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ jobs:
echo "version=${VERSION#v}" >> "$GITHUB_OUTPUT"
- name: Update Application.php version
run: |
sed -i "s/const VERSION = '.*';/const VERSION = '${{ steps.version.outputs.version }}';/g" src/Illuminate/Foundation/Application.php
git config --global user.name 'Taylor Otwell'
git config --global user.email '[email protected]'
git add src/Illuminate/Foundation/Application.php
git commit -m "Update version to v${{ steps.version.outputs.version }}"
git push origin ${{ github.ref_name }}
run: sed -i "s/const VERSION = '.*';/const VERSION = '${{ steps.version.outputs.version }}';/g" src/Illuminate/Foundation/Application.php

- name: Commit version change
uses: EndBug/add-and-commit@v9
with:
add: src/Illuminate/Foundation/Application.php
default_author: github_actions
message: "Update version to v${{ steps.version.outputs.version }}"
push: origin ${{ github.ref_name }}

- name: SSH into splitter server
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit a2475b1

Please sign in to comment.