sun / wordpress-git-svn-release

Release a WordPress plugin from git to svn
15 stars 4 forks source link

ERROR: readme.txt version does not match version #9

Closed karneaud closed 4 years ago

karneaud commented 4 years ago

I have the following in my README.md

Tags: shipping, woocommerce, trinidad, tobago Requires at least: 4.4 Tested up to: 4.9 Stable tag: 1.0.0 Version: 1.0.0

I have the following in my main file ......

In executing the command wp-release on my MacOS I get the following

xxxx-shipping.php version: Version: readme.txt version: 1.0.0 ERROR: readme.txt version does not match version in xxxx-shipping.php.

Why is it not getting the version?

karneaud commented 4 years ago

apparently changing '{print $2}' to '{print $3}' worked for me