Skip to content

Commit

Permalink
release: version 1.6.1
Browse files Browse the repository at this point in the history
- Fix CSS Extensions causing Reusable Blocks to crash.
- Add new Map Block
- Various fixes
  • Loading branch information
HardeepAsrani authored Mar 2, 2021
2 parents 645039c + 7ecf500 commit 530c5f6
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 36 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ jobs:
env:
MYSQL_ROOT_PASSWORD: root
ports:
- 3306
volumes:
- $HOME/mysql:/var/lib/mysql
- 3306/tcp
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Setup PHP version
uses: shivammathur/setup-php@v1
Expand All @@ -53,7 +52,7 @@ jobs:
uses: actions/checkout@v2
- name: Install WordPress Test Suite
run: |
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 5.2.2
bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:${{ job.services.mysql.ports['3306'] }}
- name: Get Composer Cache Directory
id: composer-cache
run: |
Expand Down
1 change: 1 addition & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ plugins:
- otter-blocks.php
- readme.md
- package.json
message: "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
- - "@semantic-release/github"

2 changes: 1 addition & 1 deletion build/build.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions class-otter-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,29 +203,29 @@ public function register_settings() {
'schema' => array(
'type' => 'object',
'properties' => array(
'blocks' => array(
'blocks' => array(
'type' => 'array',
'items' => array(
'type' => 'object',
'properties' => array(
'name' => array(
'name' => array(
'type' => 'string',
),
'instances' => array(
'instances' => array(
'type' => 'number',
),
),
),
),
'templates' => array(
'templates' => array(
'type' => 'array',
'items' => array(
'type' => 'object',
'properties' => array(
'url' => array(
'url' => array(
'type' => 'string',
),
'instances' => array(
'instances' => array(
'type' => 'number',
),
),
Expand All @@ -235,7 +235,7 @@ public function register_settings() {
),
),
'default' => array(
'blocks' => array(),
'blocks' => array(),
'templates' => array(),
),
)
Expand Down
76 changes: 64 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 4 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 530c5f6

Please sign in to comment.