From d922b59198eb2f1545c0ced7e81fe30f3d464194 Mon Sep 17 00:00:00 2001 From: Dernerd Date: Sun, 24 Dec 2023 22:07:54 +0100 Subject: [PATCH] v3.5.7 --- deploy.sh | 82 ------------------------------------------------- psecommerce.php | 4 +-- readme.txt | 2 +- 3 files changed, 3 insertions(+), 85 deletions(-) delete mode 100644 deploy.sh diff --git a/deploy.sh b/deploy.sh deleted file mode 100644 index 2eed608..0000000 --- a/deploy.sh +++ /dev/null @@ -1,82 +0,0 @@ -#! /bin/bash -# Source: https://raw.github.com/thenbrent/multisite-user-management/master/deploy.sh -# http://thereforei.am/2011/04/21/git-to-svn-automated-wordpress-plugin-deployment/ -# A modification of Dean Clatworthy's deploy script as found here: https://github.com/deanc/wordpress-plugin-git-svn -# The difference is that this script lives in the plugin's git repo & doesn't require an existing SVN repo. - -# main config -PLUGINSLUG="psecommerce" # returns basename of current directory -CURRENTDIR=`pwd` -MAINFILE="psecommerce.php" # this should be the name of your main php file in the wordpress plugin - -# git config -GITPATH="$CURRENTDIR/" # this file should be in the base of your git repository - -# svn config -SVNPATH="/tmp/$PLUGINSLUG" # path to a temp SVN repo. No trailing slash required and don't add trunk. -SVNURL="http://plugins.svn.wordpress.org/$PLUGINSLUG" # Remote SVN repo on wordpress.org, with no trailing slash -SVNUSER="WPMUDEV" # your svn username - - -# Let's begin... -echo ".........................................." -echo -echo "Preparing to deploy ClassicPress plugin" -echo -echo ".........................................." -echo - -# Check version in readme.txt is the same as plugin file -#NEWVERSION1=`grep "^Stable tag" $GITPATH/readme.txt | awk -F' ' '{print $3}' | sed 's/[[:space:]]//g'` -#echo "readme version: $NEWVERSION1" -NEWVERSION2=`grep "^Version" $GITPATH/$MAINFILE | awk -F' ' '{print $2}' | sed 's/[[:space:]]//g'` -echo "$MAINFILE version: $NEWVERSION2" - -#if [ "$NEWVERSION1" != "$NEWVERSION2" ]; then echo "Versions don't match. Exiting...."; exit 1; fi - -echo "Versions match in readme.txt and PHP file. Let's proceed..." - -cd $GITPATH -echo -e "Enter a commit message for this new version: \c" -read COMMITMSG -# git commit -am "$COMMITMSG" - -# echo "Tagging new version in git" -# git tag -a "$NEWVERSION1" -m "Tagging version $NEWVERSION1" - -# echo "Pushing latest commit to origin, with tags" -# git push origin master -# git push origin master --tags - -echo -echo "Creating local copy of SVN repo ..." -svn co $SVNURL $SVNPATH - -echo "Exporting the HEAD of master from git to the trunk of SVN" -git checkout-index -a -f --prefix=$SVNPATH/trunk/ - -echo "Ignoring github specific files and deployment script" -svn propset svn:ignore "deploy.sh -README.md -.git -.gitignore -.gitmodules -package.json -Gruntfile.js - -echo "Changing directory to SVN and committing to trunk" -cd $SVNPATH/trunk/ -# Add all new files that are not set to be ignored -svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2}' | xargs svn add -svn commit --username=$SVNUSER -m "$COMMITMSG" - -# echo "Creating new SVN tag & committing it" -#cd $SVNPATH -#svn copy trunk/ tags/$NEWVERSION1/ -#cd $SVNPATH/tags/$NEWVERSION1 -#svn commit --username=$SVNUSER -m "Tag $NEWVERSION1" - -echo "Removing temporary directory $SVNPATH" -rm -fr $SVNPATH/ - -echo "*** The End ***" \ No newline at end of file diff --git a/psecommerce.php b/psecommerce.php index 7c96cee..6d182fc 100644 --- a/psecommerce.php +++ b/psecommerce.php @@ -3,7 +3,7 @@ * Plugin Name: PSeCommerce * Plugin URI: https://n3rds.work/?piestingtal_source=psecommerce-shopsystem * Description: Das einfachste und dennoch mächtigste ClassicPress-E-Commerce-Plugin - * Version: 3.5.6 + * Version: 3.5.7 * Requires at least: 4.9 * Author: DerN3rd (WMS N3rds@Work) * Author URI: https://n3rds.work @@ -37,7 +37,7 @@ 'psecommerce' ); -define( 'MP_VERSION', '3.5.6' ); +define( 'MP_VERSION', '3.5.7' ); /** diff --git a/readme.txt b/readme.txt index aab2984..964c23b 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://n3rds.work/spendenaktionen/unterstuetze-unsere-psource-free Tags: ecommerce, onlineshop, multisite, marketpress Requires at least: 4.9 Tested up to: 5.6 -Stable tag: 3.5.6 +Stable tag: 3.5.7 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html