Skip to content

Commit

Permalink
6.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatore-disavio committed Jan 9, 2023
1 parent b83c4f2 commit 898628f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 19 deletions.
23 changes: 8 additions & 15 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/soisy-pagamento-rateale.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 898628f

Please sign in to comment.