From a557a42642dd7d0b3607f7d866c2ac7a8db8c941 Mon Sep 17 00:00:00 2001 From: hendrikbehncke Date: Wed, 18 Sep 2024 11:41:42 +0200 Subject: [PATCH 1/3] fix: wrong path in setup-wordpress task --- src/stubs/plugin/Taskfile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stubs/plugin/Taskfile.yml b/src/stubs/plugin/Taskfile.yml index c6a417a..d92ec66 100644 --- a/src/stubs/plugin/Taskfile.yml +++ b/src/stubs/plugin/Taskfile.yml @@ -167,13 +167,13 @@ tasks: vars: cwd: build/wordpress src: '*.php' - dest: dist/wordpress + dest: dist/wordpress/{{.NAME}} - task: placeholder-wordpress - task: utils:copy vars: - cwd: dist/wordpress + cwd: dist/wordpress/{{.NAME}} src: '**' dest: ./ From 4159ffb3ccf26a203480c9b2fe505d3323c43e30 Mon Sep 17 00:00:00 2001 From: hendrikbehncke Date: Wed, 18 Sep 2024 13:19:03 +0200 Subject: [PATCH 2/3] fix: required keys for the joomla update server --- src/CreateJoomlaUpdateCommand.php | 2 ++ src/stubs/plugin/.env | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/CreateJoomlaUpdateCommand.php b/src/CreateJoomlaUpdateCommand.php index ece8f61..b387f7e 100644 --- a/src/CreateJoomlaUpdateCommand.php +++ b/src/CreateJoomlaUpdateCommand.php @@ -62,6 +62,8 @@ protected function toXML($metadata) 'DESCRIPTION', 'ELEMENT', 'TYPE', + 'CLIENT', + 'FOLDER', 'VERSION', 'DOWNLOADURL', 'STABILITY', diff --git a/src/stubs/plugin/.env b/src/stubs/plugin/.env index 10dcb48..82ff53a 100644 --- a/src/stubs/plugin/.env +++ b/src/stubs/plugin/.env @@ -12,8 +12,10 @@ AUTHORURL='{{AUTHORURL}}' # Update server UPDATEURI='{{UPDATEURI}}' -# Package information +# Plugin information for the Update Server TYPE='plugin' +CLIENT='site' +FOLDER='system' STABILITY='stable' DOWNLOADURL='https://example.com/downloads' PHPMINIMUM='7.4' From 18648904f6a4a9aae5f627bf12076252ead61a47 Mon Sep 17 00:00:00 2001 From: hendrikbehncke Date: Wed, 18 Sep 2024 13:31:12 +0200 Subject: [PATCH 3/3] v1.0.6 --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b514f8e..e1e9278 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## [1.0.6](https://github.com/yootheme/starter-utils/compare/1.0.5...1.0.6) (2024-09-18) + + +### Bug Fixes + +* required keys for the joomla update server ([4159ffb](https://github.com/yootheme/starter-utils/commit/4159ffb3ccf26a203480c9b2fe505d3323c43e30)) +* wrong path in setup-wordpress task ([a557a42](https://github.com/yootheme/starter-utils/commit/a557a42642dd7d0b3607f7d866c2ac7a8db8c941)) + + + ## [1.0.5](https://github.com/yootheme/starter-utils/compare/1.0.4...1.0.5) (2024-09-13) diff --git a/package.json b/package.json index 6d371b2..e42c151 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "starter-utils", "type": "module", "private": true, - "version": "1.0.5", + "version": "1.0.6", "scripts": { "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "postinstall": "simple-git-hooks",