From b91625154c7521ea34cec95e36a020fee1fba5fa Mon Sep 17 00:00:00 2001 From: Curtis Loisel <curtis@voceconnect.com> Date: Tue, 1 Jul 2014 15:26:43 -0400 Subject: [PATCH] Adding capistrano deploy files and bumping up version --- Capfile | 8 ++++++++ README.md | 4 +++- config/deploy/production.rb | 14 ++++++++++++++ readme.txt | 9 ++++++--- wp-cdn-rewrite.php | 2 +- 5 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 Capfile create mode 100644 config/deploy/production.rb diff --git a/Capfile b/Capfile new file mode 100644 index 0000000..e48c9bc --- /dev/null +++ b/Capfile @@ -0,0 +1,8 @@ +# Includes default deployment tasks +require 'capistrano/deploy' + +# Voce Platforms specific tasks and support +require 'capistrano/platforms/setup' + +# Loads custom tasks from `lib/capistrano/tasks' if you have any defined. +Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } \ No newline at end of file diff --git a/README.md b/README.md index 532fd54..9821bfa 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Contributors: voceplatforms, chrisscott, prettyboymp, kevinlangleyjr Tags: cdn, rewrite Requires at least: 3.3 Tested up to: 3.8 -Stable tag: 0.1.1 +Stable tag: 0.1.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -21,6 +21,8 @@ If using [Composer](http://getcomposer.org) for dependency management, you can a > See [Installing Plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins). ## Changelog +** 0.1.2 ** +* Adding Capistrano deploy files ** 0.1.1 ** *Fixing issue with URLs without a path part.* diff --git a/config/deploy/production.rb b/config/deploy/production.rb new file mode 100644 index 0000000..b558a8e --- /dev/null +++ b/config/deploy/production.rb @@ -0,0 +1,14 @@ +set :application, 'cdn-rewrite' +set :repo_url, "git@github.com:voceconnect/#{fetch(:application)}.git" + +set :scm, 'git-to-svn' +set :type, 'plugin' + +set :svn_repository, "http://plugins.svn.wordpress.org/wp-#{fetch(:application)}/" +set :svn_deploy_to, "trunk" + +set :build_folders, ( + fetch(:build_folders) << %w{ + config + } +).flatten \ No newline at end of file diff --git a/readme.txt b/readme.txt index eda49a0..0c83e17 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: voceplatforms, chrisscott, prettyboymp, kevinlangleyjr Tags: cdn, rewrite Requires at least: 3.3 Tested up to: 3.8 -Stable tag: 0.1.1 +Stable tag: 0.1.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -24,8 +24,11 @@ If using [Composer](http://getcomposer.org) for dependency management, you can a 3. Once the plugin has been activated, navigate to the CDN Rewrite settings page and set the appropriate settings. == Changelog == += 0.1.2 = +* Adding Capistrano deploy files + = 0.1.1 = -*Fixing issue with URLs without a path part. +* Fixing issue with URLs without a path part. = 0.1.0 = -*Initial version. \ No newline at end of file +* Initial version. \ No newline at end of file diff --git a/wp-cdn-rewrite.php b/wp-cdn-rewrite.php index 6e13d93..7471538 100644 --- a/wp-cdn-rewrite.php +++ b/wp-cdn-rewrite.php @@ -3,7 +3,7 @@ Plugin Name: WP CDN Rewrite Plugin URI: http://voceconnect.com/ Description: Rewrites asset URLs to CDN -Version: 0.1.1 +Version: 0.1.2 Author: Chris Scott, Michael Pretty, Kevin Langley Author URI: http://voceconnect.com/ */ -- GitLab