-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #502 from Adyen/develop
Release v4.0.0-rc1
- Loading branch information
Showing
55 changed files
with
719 additions
and
768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
# Create a copy of the plugin directory | ||
cd .. | ||
cp -r adyen-shopware6 AdyenPaymentShopware6 | ||
|
||
# Remove Shopware dependencies | ||
composer remove shopware/core --working-dir=./AdyenPaymentShopware6 | ||
composer remove shopware/storefront --working-dir=./AdyenPaymentShopware6 | ||
|
||
# Remove composer.lock again and vendor directory | ||
rm AdyenPaymentShopware6/composer.lock | ||
rm -rf AdyenPaymentShopware6/vendor | ||
|
||
# Install dependencies | ||
composer install --no-dev --working-dir=./AdyenPaymentShopware6 | ||
|
||
# Copy original the composer.json file | ||
cp adyen-shopware6/composer.json AdyenPaymentShopware6/. | ||
|
||
# Zip the plugin directory | ||
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 | ||
|
||
# Go back to workflow's root directory | ||
cd adyen-shopware6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
on: | ||
release: | ||
types: [published] | ||
|
||
name: Upload Shopware 6 Marketplace asset | ||
|
||
jobs: | ||
run: | ||
name: Upload Release Asset | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Prepare release artifact | ||
run: .github/workflows/scripts/prepare-release-asset.sh | ||
|
||
- name: Upload asset | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh release upload ${{ github.ref_name }} AdyenPaymentShopware6.zip --clobber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.