You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if php -r "exit(version_compare('$TESTED_UP_TO', '$CURRENT_WP_VERSION', '>=') ? 0 : 1);";then
42
+
echo"Tested up to version matches or is greater than the current WordPress version. Check passed."
43
+
exit
44
+
fi
45
45
echo"Tested up to version ($TESTED_UP_TO) is less than current WordPress version ($CURRENT_WP_VERSION)."
46
46
echo"Updating readme.txt with new Tested up to version."
47
47
@@ -84,9 +84,6 @@ main(){
84
84
git push origin "$BRANCH_NAME"
85
85
86
86
gh pr create --title "Update Tested Up To version to $CURRENT_WP_VERSION" --body "This pull request updates the \"Tested up to\" version in readme.txt (and README.md if applicable) to match the current WordPress version $CURRENT_WP_VERSION."
87
-
else
88
-
echo"Tested up to version matches or is greater than the current WordPress version. Check passed."
0 commit comments