Skip to content

Commit

Permalink
update tested version to upcoming 6.4
Browse files Browse the repository at this point in the history
comment out the version check for now so the release will build properly before WP release.
  • Loading branch information
circlecube committed Nov 7, 2023
1 parent 88de5d8 commit 8a9b7b3
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 @@ -90,14 +90,14 @@ jobs:
- name: NPM Install
run: npm install --legacy-peer-deps

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

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

0 comments on commit 8a9b7b3

Please sign in to comment.