Skip to content

Commit 4e55d2e

Browse files
authored
Merge pull request #122 from brainstormforce/wp-7.0-comp
WordPress 7.1 Compatibility
2 parents acdbec4 + e4afde2 commit 4e55d2e

4 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/push-asset-readme-update.yml.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ jobs:
77
master:
88
name: Push to master
99
runs-on: ubuntu-latest
10+
environment: production
1011
steps:
1112
- uses: actions/checkout@master
1213
- name: WordPress.org plugin asset/readme update
1314
uses: 10up/action-wordpress-plugin-asset-update@stable
1415
env:
1516
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
1617
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
18+
IGNORE_OTHER_FILES: true

.github/workflows/push-to-deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,20 @@ jobs:
99
deploy:
1010
name: Deploy to WordPress.org
1111
runs-on: ubuntu-latest
12+
environment: production
1213

1314
steps:
1415
- name: Checkout code
1516
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
- name: Verify release tag is reachable from master
20+
run: |
21+
git fetch --no-tags --depth=50 origin master:refs/remotes/origin/master
22+
if ! git merge-base --is-ancestor "$GITHUB_SHA" refs/remotes/origin/master; then
23+
echo "::error::Tag $GITHUB_REF_NAME ($GITHUB_SHA) is not reachable from master. Refusing to deploy."
24+
exit 1
25+
fi
1626
1727
# Optional: Add build steps if needed (uncomment if your plugin needs it)
1828
# - name: Install dependencies and build assets

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Tags:** full width, fullwidth, template, beaver builder, elementor, genesis, primer, full width template, remove sidebar, page builder
44
**Donate link:** https://www.paypal.me/BrainstormForce
55
**Requires at least:** 4.2
6-
**Tested up to:** 6.9
6+
**Tested up to:** 7.1
77
**Stable tag:** 1.2.0
88
**License:** GPLv2 or later
99
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: brainstormforce, WPCrafter, ramiy
33
Tags: full width, fullwidth, template, beaver builder, elementor, genesis, primer, full width template, remove sidebar, page builder
44
Donate link: https://www.paypal.me/BrainstormForce
55
Requires at least: 4.2
6-
Tested up to: 6.9
6+
Tested up to: 7.1
77
Stable tag: 1.2.0
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html

0 commit comments

Comments
 (0)