diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..428dfce --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,40 @@ +pipeline: + dependencies: + image: deblan/devenv + commands: + - npm install + when: + branch: [master, develop, feature/*] + + build: + image: deblan/devenv + commands: + - make npm-build + when: + branch: [develop, feature/*] + + package: + image: deblan/devenv + volumes: + - /var/www/html/artifacts:/var/www/html/artifacts + secrets: [app_certificate] + commands: + - mkdir -p "$HOME/.nextcloud/certificates" + - echo "$APP_CERTIFICATE" > "$HOME/.nextcloud/certificates/side_menu.key" + - export VERSION=$(grep "" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never) + - export RELEASE_DIRECTORY="/var/www/html/artifacts/deblan/side_menu" + - make release + when: + branch: [master] + + release: + image: plugins/gitea-release + volumes: + - /var/www/html/artifacts:/var/www/html/artifacts + settings: + api_key: + from_secret: gitnet_api_key + base_url: https://gitnet.fr + files: "/var/www/html/artifacts/deblan/side_menu/${CI_COMMIT_TAG}/*" + when: + event: [tag] diff --git a/CHANGELOG.md b/CHANGELOG.md index 508df04..c473f5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## [Unreleased] +## 2.4.2 +### Fixed +* fix typo +### Changed +* change ci/cd + ## 2.4.1 ### Fixed * fix user setting save diff --git a/README.md b/README.md index 35a2d51..92f05f7 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can customize colors depending of the theme (Dark theme and Breeze Dark). Co You like this app and you want to support me? ☕ [Buy me a coffee](https://www.buymeacoffee.com/deblan) or [Donate with liberapay](https://liberapay.com/deblan) -[![Build Status](https://ci2.gitnet.fr/api/badges/deblan/side_menu/status.svg)](https://ci2.gitnet.fr/deblan/side_menu) +[![Build Status](https://ci.gitnet.fr/api/badges/deblan/side_menu/status.svg)](https://ci.gitnet.fr/deblan/side_menu) Requirements ------------ diff --git a/appinfo/info.xml b/appinfo/info.xml index 44530b3..1517df1 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -17,7 +17,7 @@ You can report a bug or request a feature by opening an issue. Requirements: -* PHP >= 7.3 +* PHP >= 7.4 * App `theming` enabled If you like this application and if you want to support the development: @@ -26,7 +26,7 @@ If you like this application and if you want to support the development: * [Donate with liberapay](https://liberapay.com/deblan) * [Leave a comment](https://apps.nextcloud.com/apps/side_menu#comments) ]]> - 2.4.1 + 2.4.2 agpl Simon Vieille SideMenu diff --git a/templates/settings/admin-form.php b/templates/settings/admin-form.php index ba7cf77..59a5143 100644 --- a/templates/settings/admin-form.php +++ b/templates/settings/admin-form.php @@ -880,7 +880,7 @@ $choicesSizes = [ 🖱️ t('Show and hide the list of applications')); ?> --to +