diff --git a/.github/workflows/upload-asset-on-release.yml b/.github/workflows/upload-asset-on-release.yml index dcd408b..dc10fa1 100644 --- a/.github/workflows/upload-asset-on-release.yml +++ b/.github/workflows/upload-asset-on-release.yml @@ -27,7 +27,7 @@ jobs: taggedVersion=${{ env.VERSION }} pluginHeaderVersion=`grep "Version:" wp-plugin-mojo.php | grep -Eo "[0-9\.]*"` pluginConstantVersion=`grep "'MOJO_PLUGIN_VERSION'," wp-plugin-mojo.php | grep -Eo "[0-9\.]*"` - pluginPackageVersion=`grep "version" package.json | grep -Eo "[0-9\.]*"` + pluginPackageVersion=`grep '"version"' package.json | grep -Eo "[0-9\.]*"` echo "Tagged version: $taggedVersion" echo "Plugin header version: $pluginHeaderVersion" echo "Plugin constant version: $pluginConstantVersion"