From 898628f86011efce7893828a97fb68bccd57ddbc Mon Sep 17 00:00:00 2001 From: salvatore-disavio Date: Mon, 9 Jan 2023 16:36:33 +0100 Subject: [PATCH] 6.0.1 --- bin/release | 23 ++++++++--------------- src/readme.txt | 4 ++-- src/soisy-pagamento-rateale.php | 4 ++-- 3 files changed, 12 insertions(+), 19 deletions(-) diff --git a/bin/release b/bin/release index 6dda707..0af5b1b 100755 --- a/bin/release +++ b/bin/release @@ -16,25 +16,22 @@ svn checkout --depth immediates https://plugins.svn.wordpress.org/soisy-pagament svn update --set-depth infinity . declare -a trunkDirs=( - "assets" + "admin" "includes" "languages" + "public" ) declare -a trunkFiles=( - "SoisyClient.php" - "soisy-woocommerce-plugin.php" + "index.php" + "license.txt" "soisy-listener.php" ".htaccess" "readme.txt" + "soisy-pagamento-rateale.php" + "uninstall.php" ) -declare -a assetsFiles=( - "assets/screenshot-1.png" - "assets/screenshot-2.png" - "assets/screenshot-3.png" - "assets/icon-256x256.png" -) for i in "${trunkDirs[@]}" do @@ -46,15 +43,11 @@ do cp "../src/$i" trunk done -for i in "${assetsFiles[@]}" -do - cp "../src/$i" assets -done sed -ie "s/\${VERSION}/$1/" trunk/readme.txt -sed -ie "s/\${VERSION}/$1/" trunk/soisy-woocommerce-plugin.php +sed -ie "s/\${VERSION}/$1/" trunk/soisy-pagamento-rateale.php rm trunk/readme.txte -rm trunk/soisy-woocommerce-plugin.phpe +rm trunk/soisy-pagamento-rateale.phpe cp -rip trunk tags/$1 diff --git a/src/readme.txt b/src/readme.txt index 9c122d7..375e867 100755 --- a/src/readme.txt +++ b/src/readme.txt @@ -6,8 +6,8 @@ Author: Soisy Requires at least: 4.9 Requires PHP: 7.1 Tested up to: 6.1.1 -Stable tag: 6.0.0 -Version: 6.0.0 +Stable tag: ${VERSION} +Version: ${VERSION} License: MIT License URI: https://spdx.org/licenses/MIT.html diff --git a/src/soisy-pagamento-rateale.php b/src/soisy-pagamento-rateale.php index 044b45a..c590901 100644 --- a/src/soisy-pagamento-rateale.php +++ b/src/soisy-pagamento-rateale.php @@ -15,7 +15,7 @@ * Plugin Name: Soisy Pagamento Rateale * Plugin URI: https://doc.soisy.it/it/Plugin/WooCommerce.html * Description: Soisy, la piattaforma di prestiti p2p che offre ai tuoi clienti il pagamento a rate. - * Version: 6.0.0 + * Version: ${VERSION} * Author: Soisy * Author URI: https://www.soisy.it * License: MIT @@ -33,7 +33,7 @@ * Start at version 1.0.0 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define( 'SOISY_PAGAMENTO_RATEALE_VERSION', '6.0.0' ); +define( 'SOISY_PAGAMENTO_RATEALE_VERSION', '${VERSION}' ); /** * The code that runs during plugin activation.