Skip to content

Commit 82d63ff

Browse files
authored
Merge pull request #226 from woocommerce/feature/woorelease
Add support for WooRelease
2 parents 1b23733 + b39abfd commit 82d63ff

9 files changed

Lines changed: 200 additions & 154 deletions

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ trim_trailing_whitespace = true
1414
indent_style = tab
1515
tab_width = 4
1616

17-
[*.yml]
17+
[{*.yml,package.json}]
1818
indent_style = space
1919
indent_size = 2
2020

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](hhttps:
8787

8888
== Changelog ==
8989

90-
= 1.0.0 - 2021-10-XX =
90+
= 1.0.0 - 2021-xx-xx =
9191
- Initial release

changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*** Pinterest for WooCommerce Changelog ***
2+
3+
= 1.0.0 - 2021-xx-xx =
4+
- Initial release
5+

class-pinterest-for-woocommerce.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ final class Pinterest_For_Woocommerce {
5959
*
6060
* @var string
6161
*/
62-
public $version = '1.0.0-beta.4';
62+
public $version = PINTEREST_FOR_WOOCOMMERCE_VERSION;
6363

6464
/**
6565
* The single instance of the class.
@@ -165,7 +165,6 @@ public function maybe_init_plugin() {
165165
private function define_constants() {
166166
define( 'PINTEREST_FOR_WOOCOMMERCE_PREFIX', 'pinterest-for-woocommerce' );
167167
define( 'PINTEREST_FOR_WOOCOMMERCE_PLUGIN_BASENAME', plugin_basename( PINTEREST_FOR_WOOCOMMERCE_PLUGIN_FILE ) );
168-
define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', $this->version );
169168
define( 'PINTEREST_FOR_WOOCOMMERCE_OPTION_NAME', 'pinterest_for_woocommerce' );
170169
define( 'PINTEREST_FOR_WOOCOMMERCE_DATA_NAME', 'pinterest_for_woocommerce_data' );
171170
define( 'PINTEREST_FOR_WOOCOMMERCE_LOG_PREFIX', 'pinterest-for-woocommerce' );

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"minimum-stability": "dev",
1313
"require": {
1414
"php": ">=7.3",
15-
"composer/installers": "^1.7.0",
1615
"automattic/jetpack-autoloader": "^2.10.1",
1716
"defuse/php-encryption": "^2.2"
1817
},
1918
"require-dev": {
20-
"woocommerce/woocommerce-sniffs": "^0.1.0",
19+
"composer/installers": "^1.7.0",
2120
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
21+
"woocommerce/woocommerce-sniffs": "^0.1.0",
2222
"wp-coding-standards/wpcs": "^2.3"
2323
},
2424
"autoload": {

0 commit comments

Comments
 (0)