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 cc653b0 commit 25c4323
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:

- name: Remove optional "v" prefix
id: version
run: VERSION=${{ inputs.version }} echo "::set-output name=version::${VERSION#v}"
run: |
VERSION=${{ inputs.version }}
echo "version=${VERSION#v}" >> "$GITHUB_OUTPUT"
- name: Update Application.php version
run: |
Expand All @@ -34,15 +36,11 @@ jobs:
host: 104.248.56.26
username: forge
key: ${{ secrets.SSH_PRIVATE_KEY_SPLITTER }}

- name: Change directory
run: cd laravel-${{ github.ref_name }}

- name: Pull in latest changes
run: git pull origin ${{ github.ref_name }}

- name: Run release script
run: bash bin/release v${{ steps.version.outputs.version }}
script: |
cd laravel-${{ github.ref_name }}
git pull origin ${{ github.ref_name }}
bash bin/release v${{ steps.version.outputs.version }}
script_stop: true

- name: Generate release notes
id: notes
Expand Down

0 comments on commit 25c4323

Please sign in to comment.