diff --git a/.github/workflows/scripts/prepare-release-asset.sh b/.github/workflows/scripts/prepare-release-asset.sh index 7be70654..65b6bf40 100755 --- a/.github/workflows/scripts/prepare-release-asset.sh +++ b/.github/workflows/scripts/prepare-release-asset.sh @@ -19,13 +19,13 @@ composer install --no-dev --working-dir=./AdyenPaymentShopware6 cp adyen-shopware6/composer.json AdyenPaymentShopware6/. # Zip the plugin directory -zip -r AdyenPaymentShopware6.zip AdyenPaymentShopware6/ ; +zip -r AdyenPaymentShopware6.zip AdyenPaymentShopware6/ # Cleanup the zip installation zip -d AdyenPaymentShopware6.zip __MACOSX/\* ; zip -d AdyenPaymentShopware6.zip *.git* -# Move the zip file to plugin folder -mv AdyenPaymentShopware6.zip adyen-shopware6 +# Move the zip file to plugin folder (use absolute path to avoid issues) +mv AdyenPaymentShopware6.zip adyen-shopware6/AdyenPaymentShopware6.zip # Go back to workflow's root directory cd adyen-shopware6