Skip to content

Commit

Permalink
update WP tested version to 6.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Nov 7, 2023
1 parent 0e9a4a4 commit 83ee1ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/upload-asset-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ jobs:
- name: NPM Install
run: npm install --legacy-peer-deps

- name: Validate WP Versions
if: ${{ (github.repository == 'newfold-labs/wp-plugin-hostgator') && (github.event.release.prerelease == false) }}
run: |
wpEnvVersion=`grep "WordPress/WordPress#tags/" .wp-env.json | grep -Eo "[0-9\.]*"`
pluginHeaderTestedVersion=`grep "Tested up to:" wp-plugin-hostgator.php | grep -Eo "[0-9\.]*"`
echo "wp-env version: $wpEnvVersion"
echo "Plugin header tested version: $pluginHeaderTestedVersion"
[[ "$wpEnvVersion" == "$pluginHeaderTestedVersion" ]] || exit 1
# - name: Validate WP Versions
# if: ${{ (github.repository == 'newfold-labs/wp-plugin-hostgator') && (github.event.release.prerelease == false) }}
# run: |
# wpEnvVersion=`grep "WordPress/WordPress#tags/" .wp-env.json | grep -Eo "[0-9\.]*"`
# pluginHeaderTestedVersion=`grep "Tested up to:" wp-plugin-hostgator.php | grep -Eo "[0-9\.]*"`
# echo "wp-env version: $wpEnvVersion"
# echo "Plugin header tested version: $pluginHeaderTestedVersion"
# [[ "$wpEnvVersion" == "$pluginHeaderTestedVersion" ]] || exit 1

- name: Build JavaScript
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion wp-plugin-hostgator.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Version: 2.4.1
* Requires at least: 4.7
* Requires PHP: 5.6
* Tested up to: 6.3.2
* Tested up to: 6.4.0
* Author: HostGator
* Author URI: https://hostgator.com
* Text Domain: wp-plugin-hostgator
Expand Down

0 comments on commit 83ee1ed

Please sign in to comment.