diff --git a/.github/workflows/upload-asset-on-release.yml b/.github/workflows/upload-asset-on-release.yml index d04ab4e0..00534ec2 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-hostgator.php | grep -Eo "[0-9\.]*"` pluginConstantVersion=`grep "'HOSTGATOR_PLUGIN_VERSION'" wp-plugin-hostgator.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"