Skip to content

Commit

Permalink
fix version check in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Sep 21, 2023
1 parent 0733551 commit 9fe2b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upload-asset-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
taggedVersion=${{ env.VERSION }}
pluginHeaderVersion=`grep "Version:" wp-plugin-web.php | grep -Eo "[0-9\.]*"`
pluginConstantVersion=`grep "'WEB_PLUGIN_VERSION'," wp-plugin-web.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"
Expand Down

0 comments on commit 9fe2b2b

Please sign in to comment.