Skip to content

Commit

Permalink
Release of 6.2.1 (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel-MultiSafepay authored Feb 1, 2024
1 parent de37705 commit f547061
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 22 deletions.
43 changes: 23 additions & 20 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
/.codecov.yml
/.dist
/.distignore
/.env
/.env.example
/.git
/.github
/.wordpress-org
/tests
/bin
/.gitignore
/.idea
/.dist
/coverage.xml
/phpunit.xml
/composer.lock
/coverage.xml
/coverage-report/*
/.distignore
/.phpcs.xml
/phpunit.xml.dist
/.gitignore
/composer.json
/composer.lock
/README.md
/.wordpress-org
/CHANGELOG.md
/CODE_OF_CONDUCT.md
/.codecov.yml
/docker
/.env
/.env.example
/docker-compose.yml
/DEVELOPMENT.md
/Makefile
/README.md
/assets/public/js/multisafepay-blocks/src/*
/bin
/composer.json
/composer.lock
/coverage-report/*
/coverage.xml
/docker
/docker-compose.yml
/node_modules/*
/package-lock.json
/package.json
/phpunit.xml
/phpunit.xml.dist
/tests
/webpack.config.js
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/.env
/.idea
/.phpunit.result.cache
/.release/
/assets/public/js/multisafepay-blocks/build/*
/composer.lock
/coverage-report/*
Expand Down
6 changes: 6 additions & 0 deletions bin/release-into-wordpress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ npm install --include=dev --no-fund

# Build file.
npm run build

# Remove node_modules
rm -rf node_modules

# Remove src folder
rm -rf assets/public/js/multisafepay-blocks/src
13 changes: 11 additions & 2 deletions bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,14 @@ npm run build
# Back to root directory RELEASE_FOLDER
cd ../

# zip everything
zip -9 -r "$FILENAME_PREFIX""$RELEASE_VERSION".zip "$FOLDER_PREFIX" -x "$FOLDER_PREFIX""/composer.json" -x "$FOLDER_PREFIX""/composer.lock" -x "$FOLDER_PREFIX""/.wordpress-org/*" -x "$FOLDER_PREFIX""/.distignore" -x "$FOLDER_PREFIX""/package.json" -x "$FOLDER_PREFIX""/node_modules" -x "$FOLDER_PREFIX""/webpack.config.js" -x "$FOLDER_PREFIX""/assets/public/js/multisafepay-blocks/src/*"
# Zip everything. Exclusions in alphabetical order
zip -9 -r "$FILENAME_PREFIX""$RELEASE_VERSION".zip "$FOLDER_PREFIX" \
-x "$FOLDER_PREFIX""/.distignore" \
-x "$FOLDER_PREFIX""/.wordpress-org/*" \
-x "$FOLDER_PREFIX""/assets/public/js/multisafepay-blocks/src/*" \
-x "$FOLDER_PREFIX""/composer.json" \
-x "$FOLDER_PREFIX""/composer.lock" \
-x "$FOLDER_PREFIX""/node_modules/*" \
-x "$FOLDER_PREFIX""/package-lock.json" \
-x "$FOLDER_PREFIX""/package.json" \
-x "$FOLDER_PREFIX""/webpack.config.js"

0 comments on commit f547061

Please sign in to comment.