Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
miya0001 committed Nov 5, 2015
1 parent b54d7d9 commit f2c8486
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
16 changes: 4 additions & 12 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,11 @@ if [[ "false" != "$TRAVIS_PULL_REQUEST" ]]; then
exit
fi

if [[ ! $TRAVIS_TAG ]]; then
echo "Not deploying empty tag."
exit
fi

if [[ ! $WP_PULUGIN_DEPLOY ]]; then
echo "Not deploying."
exit
fi

if [[ ! $SVN_REPO || ! $GH_REF ]]; then
echo "Please set \$GH_REF and \$PLUGIN_REPO in .travis.yml."
exit
fi

mkdir build

cd build
Expand All @@ -31,7 +21,7 @@ git clone $GH_REF $(basename $SVN_REPO)/git
cd $(basename $SVN_REPO)
SVN_ROOT_DIR=$(pwd)

rsync --checksum --delete -av $SVN_ROOT_DIR/git/ $SVN_ROOT_DIR/trunk/
rsync --checksum -av $SVN_ROOT_DIR/git/ $SVN_ROOT_DIR/trunk/
rm -fr $SVN_ROOT_DIR/git

cd $SVN_ROOT_DIR/trunk
Expand Down Expand Up @@ -65,6 +55,8 @@ svn st | grep '^?' | sed -e 's/\?[ ]*/svn add /g' | sh

svn cp trunk tags/$TRAVIS_TAG

if [[ $SVN_USER && $SVN_PASS ]]; then
svn st

if [[ $TRAVIS_TAG && $SVN_USER && $SVN_PASS ]]; then
svn commit -q -m "commit version $TRAVIS_TAG" --username $SVN_USER --password $SVN_PASS --non-interactive 2>/dev/null
fi
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://wpist.me/
Tags: google maps, map, shortcode, address
Requires at least: 3.6
Tested up to: 4.3
Stable tag: 2.8.6
Stable tag: 2.8.7

Easy way to embed google map(s).

Expand Down
2 changes: 1 addition & 1 deletion simple-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Author: Takayuki Miyauchi
Plugin URI: https://github.com/miya0001/simple-map
Description: Insert google map convert from address.
Version: 2.8.6
Version: 2.8.7
Author URI: http://wpist.me/
Domain Path: /languages
Text Domain: simplemap
Expand Down

0 comments on commit f2c8486

Please sign in to comment.