Skip to content

Commit 62a6848

Browse files
committed
Update release script
1 parent 44a2dea commit 62a6848

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

.distignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,4 @@ src
8080
/src/css
8181
lib
8282
development.md
83+
blueprint.json

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
run: |
6262
mkdir -p svn/assets
6363
rsync -r --delete --include '*/' --include '*.png' --include '*.jpg' --include '*.jpeg' --include '*.gif' --include '*.svg' --exclude '*' .wordpress-org/ svn/assets/
64+
mkdir -p svn/assets/blueprints
65+
cp blueprint.json svn/assets/blueprints/blueprint.json
6466
cd svn
6567
svn add --force assets
6668
svn commit -m "Update assets for version ${{ github.ref }}" --username ${{ secrets.SVN_USERNAME }} --password ${{ secrets.SVN_PASSWORD }} --no-auth-cache --non-interactive

blueprint.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"name": "insert-codes",
3-
"version": "1.4.0",
4-
"slug": "insert-codes",
5-
"description": "The \"Insert Codes - The Code Snippets Manager for WordPress\" plugin allows you to easily manage custom code snippets and add custom code to the header, body, and footer sections of your WordPress website.",
6-
"author": "UrlDev",
7-
"author_uri": "https://urldev.com",
8-
"homepage": "https://wordpress.org/plugins/insert-codes/",
9-
"requires": "5.0",
10-
"tested_up_to": "6.7",
11-
"requires_php": "7.4",
12-
"plugin_uri": "https://wordpress.org/plugins/insert-codes/",
13-
"license": "GPL-2.0-or-later",
14-
"license_uri": "https://www.gnu.org/licenses/gpl-2.0.html",
15-
"text_domain": "insert-codes",
16-
"readme": "https://plugins.svn.wordpress.org/insert-codes/trunk/readme.txt"
2+
"landingPage": "/wp-admin/edit.php",
3+
"preferredVersions": {
4+
"php": "7.4",
5+
"wp": "5.0"
6+
},
7+
"phpExtensionBundles": [
8+
"kitchen-sink"
9+
],
10+
"steps": [
11+
{
12+
"step": "login",
13+
"username": "admin",
14+
"password": "password"
15+
}
16+
]
1717
}

0 commit comments

Comments
 (0)