Skip to content

Commit

Permalink
Fix craftcms/craft commands
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
brandonkelly committed Mar 19, 2024
1 parent 3adebaa commit a19bc7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ jobs:

- name: 'Initialize Craft 3 starter project'
if: ${{ startsWith(github.event.client_payload.version, '3.') }}
run: 'composer create-project craftcms/craft=^3 ${{ env.PROJECT_DIRECTORY }}'
run: 'composer create-project craftcms/craft:^3 ${{ env.PROJECT_DIRECTORY }}'

- name: 'Initialize Craft 4 starter project'
if: ${{ startsWith(github.event.client_payload.version, '4.') }}
run: 'composer create-project craftcms/craft^4 ${{ env.PROJECT_DIRECTORY }}'
run: 'composer create-project craftcms/craft:^4 ${{ env.PROJECT_DIRECTORY }}'

- name: 'Initialize Craft 5 starter project'
if: ${{ startsWith(github.event.client_payload.version, '5.') }}
run: 'composer create-project craftcms/craft=^5.0.0-beta.1 ${{ env.PROJECT_DIRECTORY }}'
run: 'composer create-project craftcms/craft:^5 -s beta ${{ env.PROJECT_DIRECTORY }}'

- name: 'Install specific Craft version'
working-directory: ${{ env.PROJECT_DIRECTORY }}
Expand Down

0 comments on commit a19bc7e

Please sign in to comment.