diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index ba49b10208e..159d6e3a2c6 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -70,20 +70,6 @@ jobs: sed -i 's/SECURITY_KEY=.*/SECURITY_KEY=/g' .env sed -i 's/APP_ID=.*/APP_ID=/g' .env - - name: 'Update Craft 4 .env' - if: ${{ startsWith(github.event.client_payload.version, '4.') }} - working-directory: ${{ env.PROJECT_DIRECTORY }} - run: | - sed -i 's/CRAFT_SECURITY_KEY=.*/CRAFT_SECURITY_KEY=/g' .env - sed -i 's/CRAFT_APP_ID=.*/CRAFT_APP_ID=/g' .env - - - name: 'Update Craft 5 .env' - if: ${{ startsWith(github.event.client_payload.version, '5.') }} - working-directory: ${{ env.PROJECT_DIRECTORY }} - run: | - sed -i 's/CRAFT_SECURITY_KEY=.*/CRAFT_SECURITY_KEY=/g' .env - sed -i 's/CRAFT_APP_ID=.*/CRAFT_APP_ID=/g' .env - - name: 'Create zip' working-directory: ${{ env.PROJECT_DIRECTORY }} run: 'zip -r ../${{ env.BUNDLE_ZIP_FILENAME }} ./'