From b1c8da6fc8190d1efeaf3aecca27cfc135169390 Mon Sep 17 00:00:00 2001 From: Paolo Tesei Date: Mon, 24 Jun 2024 18:45:49 +0200 Subject: [PATCH 1/4] move wordpress assets --- .../banner-1544x500.png | Bin .../banner-772x250.png | Bin {_wordpress-org => .wordpress-org}/icon-128x128.png | Bin {_wordpress-org => .wordpress-org}/icon-256x256.png | Bin {_wordpress-org => .wordpress-org}/screenshot-1.gif | Bin {_wordpress-org => .wordpress-org}/screenshot-2.gif | Bin {_wordpress-org => .wordpress-org}/screenshot-3.gif | Bin 7 files changed, 0 insertions(+), 0 deletions(-) rename {_wordpress-org => .wordpress-org}/banner-1544x500.png (100%) rename {_wordpress-org => .wordpress-org}/banner-772x250.png (100%) rename {_wordpress-org => .wordpress-org}/icon-128x128.png (100%) rename {_wordpress-org => .wordpress-org}/icon-256x256.png (100%) rename {_wordpress-org => .wordpress-org}/screenshot-1.gif (100%) rename {_wordpress-org => .wordpress-org}/screenshot-2.gif (100%) rename {_wordpress-org => .wordpress-org}/screenshot-3.gif (100%) diff --git a/_wordpress-org/banner-1544x500.png b/.wordpress-org/banner-1544x500.png similarity index 100% rename from _wordpress-org/banner-1544x500.png rename to .wordpress-org/banner-1544x500.png diff --git a/_wordpress-org/banner-772x250.png b/.wordpress-org/banner-772x250.png similarity index 100% rename from _wordpress-org/banner-772x250.png rename to .wordpress-org/banner-772x250.png diff --git a/_wordpress-org/icon-128x128.png b/.wordpress-org/icon-128x128.png similarity index 100% rename from _wordpress-org/icon-128x128.png rename to .wordpress-org/icon-128x128.png diff --git a/_wordpress-org/icon-256x256.png b/.wordpress-org/icon-256x256.png similarity index 100% rename from _wordpress-org/icon-256x256.png rename to .wordpress-org/icon-256x256.png diff --git a/_wordpress-org/screenshot-1.gif b/.wordpress-org/screenshot-1.gif similarity index 100% rename from _wordpress-org/screenshot-1.gif rename to .wordpress-org/screenshot-1.gif diff --git a/_wordpress-org/screenshot-2.gif b/.wordpress-org/screenshot-2.gif similarity index 100% rename from _wordpress-org/screenshot-2.gif rename to .wordpress-org/screenshot-2.gif diff --git a/_wordpress-org/screenshot-3.gif b/.wordpress-org/screenshot-3.gif similarity index 100% rename from _wordpress-org/screenshot-3.gif rename to .wordpress-org/screenshot-3.gif From 0d4915e1af97dda7f316b1d2c3651ed633adef18 Mon Sep 17 00:00:00 2001 From: Paolo Tesei Date: Mon, 24 Jun 2024 18:52:47 +0200 Subject: [PATCH 2/4] change push barnche --- .github/workflows/plugin-assets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/plugin-assets.yml b/.github/workflows/plugin-assets.yml index 474af34..260d92e 100644 --- a/.github/workflows/plugin-assets.yml +++ b/.github/workflows/plugin-assets.yml @@ -2,7 +2,7 @@ name: Plugin asset/readme update on: push: branches: - - trunk + - develop paths: - '.wordpress-org/**' - 'readme.txt' From d8807ad980dbb859ef1d36241a63c6cf25831734 Mon Sep 17 00:00:00 2001 From: Paolo Tesei Date: Mon, 24 Jun 2024 18:55:02 +0200 Subject: [PATCH 3/4] fix readme --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 2784906..0a5e25d 100644 --- a/readme.txt +++ b/readme.txt @@ -46,7 +46,7 @@ This plugin provides the following features: = How can I customize my CSS? = -You can change the desired behavior using CSS in your theme or in the customizer. +You can change the desired behavior using CSS in your theme or in the customizer: ` body[data-theme="dark"] { /* your CSS here */ From bcff430587101ce971b46f4bc910503319cb6e34 Mon Sep 17 00:00:00 2001 From: Paolo Tesei Date: Mon, 24 Jun 2024 21:31:11 +0200 Subject: [PATCH 4/4] version 0.1.4 --- .distignore | 1 + .gitattributes | 19 ++++++++++++------- .github/workflows/plugin-assets.yml | 19 ------------------- .plugin-data | 2 +- README.md | 4 ++++ mosne-dark-palette.php | 2 +- package.json | 2 +- readme.txt | 4 ++++ 8 files changed, 24 insertions(+), 29 deletions(-) delete mode 100644 .github/workflows/plugin-assets.yml diff --git a/.distignore b/.distignore index 341332d..87638e0 100644 --- a/.distignore +++ b/.distignore @@ -2,6 +2,7 @@ /.github /.wordpress-org /node_modules +/vendor /src .distignore diff --git a/.gitattributes b/.gitattributes index 8655d35..ace26ad 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,22 +1,27 @@ /.git export-ignore /.github export-ignore -/vendor/ export-ignore -diff +/.wordpress-org export-ignore +/config export-ignore +/src export-ignore +/tests export-ignore /node_modules export-ignore +/vendor export-ignore /.distignore export-ignore -/.editorconfig export-ignore /.gitattributes export-ignore /.gitignore export-ignore +/.nvmrc export-ignore /.plugin-data export-ignore /.wp-env.json export-ignore +/CHANGELOG.md export-ignore +/LICENSE.md export-ignore /composer.json export-ignore -/composer.lock export-ignore -diff +/composer.lock export-ignore /grumphp.yml export-ignore -/LICENSE.md export-ignore /package.json export-ignore -/package-lock.json export-ignore -diff +/package-lock.json export-ignore /phpcs.xml.dist export-ignore -/psalm.xml.dist export-ignore +/phpunit.xml.dist export-ignore +/psalm.xml export-ignore /README.md export-ignore /webpack.config.js export-ignore -/yarn.lock export-ignore diff --git a/.github/workflows/plugin-assets.yml b/.github/workflows/plugin-assets.yml deleted file mode 100644 index 260d92e..0000000 --- a/.github/workflows/plugin-assets.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Plugin asset/readme update -on: - push: - branches: - - develop - paths: - - '.wordpress-org/**' - - 'readme.txt' -jobs: - trunk: - name: Push to trunk - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: WordPress.org plugin asset/readme update - uses: 10up/action-wordpress-plugin-asset-update@stable - env: - SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - SVN_USERNAME: ${{ secrets.SVN_USERNAME }} diff --git a/.plugin-data b/.plugin-data index ce39b1c..5797fb1 100644 --- a/.plugin-data +++ b/.plugin-data @@ -1,4 +1,4 @@ { - "version": "0.1.3", + "version": "0.1.4", "slug": "mosne-dark-palette" } diff --git a/README.md b/README.md index db15be9..8c666d4 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,10 @@ You can change the icons using CSS in your theme or in the customizer. ![screenshot-3](https://github.com/mosne/mosne-dark-palette/blob/main/_wordpress-org/screenshot-3.gif) ## Changelog +### 0.1.4 - 2023-06-24 + +* First release on WordPress.org + ### 0.1.3 - 2023-06-09 * Fix escaping via wp_kses_data and changelogs diff --git a/mosne-dark-palette.php b/mosne-dark-palette.php index 7a8e224..14c0c0b 100644 --- a/mosne-dark-palette.php +++ b/mosne-dark-palette.php @@ -4,7 +4,7 @@ * Description: Create and apply your dark palette in an accessibility-friendly manner using the new Interactivity API. * Requires at least: 6.5 * Requires PHP: 7.4 - * Version: 0.1.3 + * Version: 0.1.4 * Author: Mosne * License: GPL-2.0-or-later * License URI: https://www.gnu.org/licenses/gpl-2.0.html diff --git a/package.json b/package.json index 2f65751..8879925 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mosne-dark-palette", - "version": "0.1.3", + "version": "0.1.4", "description": "Create and apply your dark palette in an a11y friendly way using the new Interactivity API.", "author": "mosne", "license": "GPL-2s.0-or-later", diff --git a/readme.txt b/readme.txt index 0a5e25d..b3376fc 100644 --- a/readme.txt +++ b/readme.txt @@ -77,6 +77,10 @@ You can change the icons using CSS in your theme or in the customizer. 3. Edit the dark palette == Changelog == += 0.1.4 - 2023-06-09 = + +* First release on WordPress.org + = 0.1.3 - 2023-06-09 = * Fix escaping via wp_kses_data and changelogs