Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
Release 1.17.2
Browse files Browse the repository at this point in the history
  • Loading branch information
megawebmaster committed Apr 18, 2015
1 parent a64633c commit fe9326c
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Changelog

* 1.17.2:
* 1.17.2 - 2015-04-18:
* Fix: Scripts and compatibility with JRTO.
* 1.17.1 - 2015-04-17:
* Improved: COD gateway allows to select status which should be set to order.
Expand Down
4 changes: 2 additions & 2 deletions jigoshop.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* Description: Jigoshop, a WordPress eCommerce plugin that works.
* Author: Jigoshop Limited
* Author URI: https://www.jigoshop.com
* Version: 1.17.1
* Version: 1.17.2
* Requires at least: 3.8
* Tested up to: 4.1.1
* Text Domain: jigoshop
Expand All @@ -38,7 +38,7 @@
*/

if (!defined('JIGOSHOP_VERSION')) {
define('JIGOSHOP_VERSION', '1.17.1');
define('JIGOSHOP_VERSION', '1.17.2');
}
if (!defined('JIGOSHOP_DB_VERSION')) {
define('JIGOSHOP_DB_VERSION', 1503180);
Expand Down
4 changes: 3 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: 2checkout, 2co, affiliate, authorize, cart, checkout, commerce, coupons, e
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=finance%40jigoshop%2ecom&lc=US&item_name=Jigoshop%20%2d%20Wordpress%2eorg%20donation%20link&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
Requires at least: 3.8
Tested up to: 4.1.1
Stable tag: 1.17.1
Stable tag: 1.17.2

A feature-packed eCommerce plugin built upon WordPress core functionality ensuring excellent performance and customizability.

Expand Down Expand Up @@ -124,6 +124,8 @@ However, if you want priority, dedicated support from Jigoshop staff, we dp offe

== Changelog ==

= 1.17.2 - 2015-04-18 =
* Fix: Scripts and compatibility with JRTO.
= 1.17.1 - 2015-04-17 =
* Improved: COD gateway allows to choose which status should be set to order.
* Fix: Scripts and compatibility with JRTO.
Expand Down
50 changes: 50 additions & 0 deletions update_images.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#!/bin/bash

# main config
PLUGINSLUG="jigoshop"
TMPDIR="/tmp/$PLUGINSLUG"

# svn config
SVNURL="http://plugins.svn.wordpress.org/$PLUGINSLUG" # Remote SVN repo on wordpress.org, with no trailing slash

# Let's begin...
echo " Preparing to update assets in $PLUGINSLUG"

if [ -z "$SVNUSER" ] ; then
echo -n "[SVN] Enter username:"
read SVNUSER
fi
if [ -z "$SVNPASS" ] ; then
echo -n "[SVN] Enter password:"
read SVNPASS
fi

if [ -z "$SVNPASS" ] || [ -z "$SVNUSER" ]; then
echo "Please provide SVN username and password!"
exit 1
fi

echo "Creating local copy of SVN repo ..."
svn co "$SVNURL/assets" $TMPDIR

read -p "Please navigate to $TMPDIR and update images. After you finished press [Enter]."

cd $SVNPATH

echo "Committing assets"
svn status | grep -v "^.[ \t]*\..*" | grep "^?" | awk '{print $2}' | xargs svn add
svn status | grep -v "^.[ \t]*\..*" | grep "^!" | awk '{print $2}' | xargs svn rm

echo "Committing a new version"
svn commit --username=$SVNUSER --password=$SVNPASS -m "Update assets"

echo "Cleaning up"
rm -fr "$TMPDIR/"

echo
echo ".........................................."
echo
echo " Successfully updated assets for $PLUGINSLUG"
echo
echo ".........................................."
echo

0 comments on commit fe9326c

Please sign in to comment.