Skip to content

Commit

Permalink
Bump 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Aug 6, 2019
1 parent 0162e6b commit fd6891c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 32 deletions.
13 changes: 0 additions & 13 deletions bin/verify-version-consistency.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@
}
$versions['readme.txt#stable-tag'] = $matches['version'];

if ( ! preg_match( '/== Changelog ==\s+=\s+(?P<version>\d+\.\d+(?:.\d+)?)/', $readme_txt, $matches ) ) {
echo "Could not find version i n readme.txt changelog\n";
exit( 1 );
}
$versions['readme.txt#changelog'] = $matches['version'];

$readme_md = file_get_contents( dirname( __FILE__ ) . '/../readme.md' );
if ( ! preg_match( '/## Changelog ##\s+###\s+(?P<version>\d+\.\d+(?:.\d+)?)/', $readme_md, $matches ) ) {
echo "Could not find version in readme.md changelog\n";
exit( 1 );
}
$versions['readme.md#changelog'] = $matches['version'];

$plugin_file = file_get_contents( dirname( __FILE__ ) . '/../pwa.php' );
if ( ! preg_match( '/\*\s*Version:\s*(?P<version>\d+\.\d+(?:.\d+)?(-\w+)?)/', $plugin_file, $matches ) ) {
echo "Could not find version in readme metadata\n";
Expand Down
4 changes: 2 additions & 2 deletions pwa.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
* Plugin Name: PWA
* Plugin URI: https://github.com/xwp/pwa-wp
* Description: Feature plugin to bring Progressive Web App (PWA) capabilities to Core
* Version: 0.3-RC1
* Version: 0.3.0
* Author: PWA Plugin Contributors
* Author URI: https://github.com/xwp/pwa-wp/graphs/contributors
* Text Domain: pwa
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/

define( 'PWA_VERSION', '0.3-RC1' );
define( 'PWA_VERSION', '0.3.0' );
define( 'PWA_PLUGIN_FILE', __FILE__ );
define( 'PWA_PLUGIN_DIR', dirname( __FILE__ ) );
define( 'PWA_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
Expand Down
11 changes: 3 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ WordPress feature plugin to bring Progressive Web App (PWA) capabilities to Core
**Contributors:** [xwp](https://profiles.wordpress.org/xwp), [google](https://profiles.wordpress.org/google), [automattic](https://profiles.wordpress.org/automattic)
**Tags:** [pwa](https://wordpress.org/plugins/tags/pwa), [progressive web apps](https://wordpress.org/plugins/tags/progressive-web-apps), [service workers](https://wordpress.org/plugins/tags/service-workers), [web app manifest](https://wordpress.org/plugins/tags/web-app-manifest), [https](https://wordpress.org/plugins/tags/https)
**Requires at least:** 5.2
**Tested up to:** 5.2
**Stable tag:** 0.2.0
**Tested up to:** 5.3-alpha
**Stable tag:** 0.3.0
**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
**Requires PHP:** 5.6

Expand Down Expand Up @@ -334,10 +334,5 @@ Please see the [documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP

## Changelog ##

### 0.2.0 (2019-04-16) ###
[View 0.2.0 Changelog](https://github.com/xwp/pwa-wp/milestone/1).

### 0.1.0 (2018-07-12) ###
[View 0.1.0 Changelog](https://github.com/xwp/pwa-wp/milestone/3).

For the plugin’s changelog, please see [the Releases page on GitHub](https://github.com/xwp/pwa-wp/releases).

12 changes: 3 additions & 9 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: xwp, google, automattic
Tags: pwa, progressive web apps, service workers, web app manifest, https
Requires at least: 5.2
Tested up to: 5.2
Stable tag: 0.2.0
Tested up to: 5.3-alpha
Stable tag: 0.3.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 5.6
Expand Down Expand Up @@ -334,10 +334,4 @@ Please see the [documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP

== Changelog ==

= 0.2.0 (2019-04-16) =

[View 0.2.0 Changelog](https://github.com/xwp/pwa-wp/milestone/1).

= 0.1.0 (2018-07-12) =

[View 0.1.0 Changelog](https://github.com/xwp/pwa-wp/milestone/3).
For the plugin’s changelog, please see [the Releases page on GitHub](https://github.com/xwp/pwa-wp/releases).

0 comments on commit fd6891c

Please sign in to comment.