From 3c9a280dc293ebcde3f0415a721d408be24dd3e3 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Thu, 24 Jun 2021 18:25:17 +0000 Subject: [PATCH] feat: Fix for Shopware 5.7 --- Resources/services.xml | 1 + build.sh | 19 ------------------- plugin.xml | 10 +++++++++- 3 files changed, 10 insertions(+), 20 deletions(-) delete mode 100755 build.sh diff --git a/Resources/services.xml b/Resources/services.xml index 6bc8b0d..06816ce 100644 --- a/Resources/services.xml +++ b/Resources/services.xml @@ -9,6 +9,7 @@ + diff --git a/build.sh b/build.sh deleted file mode 100755 index 42100d9..0000000 --- a/build.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -commit=$1 -if [ -z ${commit} ]; then - commit=$(git tag --sort=-creatordate | head -1) - if [ -z ${commit} ]; then - commit="master"; - fi -fi - -# Remove old release -rm -rf FroshMailCatcher FroshMailCatcher-*.zip - -# Build new release -mkdir -p FroshMailCatcher -git archive ${commit} | tar -x -C FroshMailCatcher -composer install --no-dev -n -o -d FroshMailCatcher -( find ./FroshMailCatcher -type d -name ".git" && find ./FroshMailCatcher -name ".gitignore" && find ./FroshMailCatcher -name ".gitmodules" ) | xargs rm -r -zip -r FroshMailCatcher-${commit}.zip FroshMailCatcher \ No newline at end of file diff --git a/plugin.xml b/plugin.xml index 970139f..829c617 100644 --- a/plugin.xml +++ b/plugin.xml @@ -3,11 +3,12 @@ xsi:noNamespaceSchemaLocation="../../../engine/Shopware/Components/Plugin/schema/plugin.xsd"> - 1.2.0 + 1.2.1 Friends of Shopware MIT https://github.com/FriendsOfShopware/FroshMailCatcher Friends of Shopware + + + + + +