Skip to content

Commit

Permalink
v1.0.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
seb86 committed Jul 26, 2024
1 parent 220a467 commit d095806
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 14 deletions.
23 changes: 15 additions & 8 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ module.exports = function(grunt) {
from: /WC tested up to:.*$/m,
to: "WC tested up to: <%= pkg.wc_tested_up_to %>"
},
{
from: /CoCart requires at least:.*$/m,
to: 'CoCart requires at least: <%= pkg.cocart_requires %>'
},
{
from: /CoCart tested up to:.*$/m,
to: 'CoCart tested up to: <%= pkg.cocart_tested_up_to %>'
},
{
from: /Version:.*$/m,
to: "Version: <%= pkg.version %>"
Expand Down Expand Up @@ -77,14 +85,6 @@ module.exports = function(grunt) {
from: /Tested up to:(\*\*|)(\s*?)[0-9.-]+(\s*?)$/mi,
to: 'Tested up to:$1$2<%= pkg.tested_up_to %>$3'
},
{
from: /WC requires at least:(\*\*|)(\s*?)[0-9.-]+(\s*?)$/mi,
to: 'WC requires at least:$1$2<%= pkg.wc_requires %>$3'
},
{
from: /WC tested up to:(\*\*|)(\s*?)[a-zA-Z0-9.-]+(\s*?)$/mi,
to: 'WC tested up to:$1$2<%= pkg.wc_tested_up_to %>$3'
},
]
},
stable: {
Expand Down Expand Up @@ -163,4 +163,11 @@ module.exports = function(grunt) {
* and install on a WordPress installation.
*/
grunt.registerTask( 'zip', [ 'copy:build', 'compress', 'clean:build' ] );

// Build Plugin.
grunt.registerTask( 'build', [ 'version', 'zip' ] );

// Ready for release.
grunt.registerTask( 'ready', [ 'version', 'stable', 'zip' ] );

};
4 changes: 3 additions & 1 deletion cocart-cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
* Description: Enables support for CORS to allow CoCart API to work across multiple domains.
* Author: CoCart Headless, LLC
* Author URI: https://cocartapi.com
* Version: 1.0.6
* Version: 1.0.7
* Text Domain: cocart-cors
* Requires at least: 5.6
* Requires PHP: 7.4
* Requires Plugins: cart-rest-api-for-woocommerce
* CoCart requires at least: 4.2
* CoCart tested up to: 4.3
*
* @package CoCart CORS
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/class-cocart-cors.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class Plugin {
*
* @var string
*/
public static $version = '1.0.6';
public static $version = '1.0.7';

/**
* Initiate CoCart CORS.
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "CoCart CORS Support",
"name": "cocart-cors",
"version": "1.0.6",
"version": "1.0.7",
"private": false,
"contributors": [
"cocartforwc",
Expand All @@ -21,8 +21,10 @@
"requires": "5.6",
"requires_php": "7.4",
"tested_up_to": "6.5",
"wc_requires": "6.3",
"wc_tested_up_to": "8.8",
"wc_requires": "6.4",
"wc_tested_up_to": "9.1",
"cocart_requires": "4.2",
"cocart_tested_up_to": "4.3",
"license": "GPL-3.0",
"copyright": "Copyright (c) 2024, CoCart Headless, LLC",
"description": "Enables support for CORS to allow CoCart API to work across multiple domains.",
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: woocommerce, rest-api, decoupled, headless, cors
Requires at least: 5.6
Requires PHP: 7.4
Tested up to: 6.5
Stable tag: 1.0.6
Stable tag: 1.0.7
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down

0 comments on commit d095806

Please sign in to comment.