diff --git a/.woodpecker.yml b/.woodpecker.yml index 47a4044..59a771b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,25 +1,34 @@ pipeline: dependencies: - image: gitnet.fr/deblan/devenv + image: node:16 + pull: true commands: - - make dep + - npm i when: event: [tag, push, pull_request] branch: [master, develop, feature/*, translations] osv_detector: - image: gitnet.fr/deblan/docker-osv-detector:v0.9 + image: gitnet.fr/deblan/osv-detector:v0.10 commands: - osv-detector package-lock.json failure: ignore - build: - image: gitnet.fr/deblan/devenv + build_js: + image: node:16 commands: - - make build + - npm run build when: branch: [master, develop, feature/*, translations] - event: [push, pull_request] + event: [tag, push, pull_request] + + build_php: + image: deblan/php:8.0 + commands: + - php bin/generate_l10n.php + when: + branch: [master, develop, feature/*, translations] + event: [tag, push, pull_request] code_quality: image: sonarsource/sonar-scanner-cli @@ -37,11 +46,13 @@ pipeline: event: [pull_request] package: - image: gitnet.fr/deblan/devenv + image: deblan/php:8.0 volumes: - /var/www/html/artifacts:/var/www/html/artifacts secrets: [app_certificate] commands: + - apt-get update + - apt-get install -y zip make - 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) diff --git a/CHANGELOG.md b/CHANGELOG.md index c979fe2..42089a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## [Unreleased] +## 3.7.1 +### Fixed +* fix build process (#230) + ## 3.7.0 ### Added * add translations (thanks to AHOHNMYC) diff --git a/Makefile b/Makefile index 783bb6a..e5b6267 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ dep: npm link @nextcloud/vue || sudo npm link @nextcloud/vue .ONESHELL: -release: build translations +release: if [ -z "$$VERSION" ]; then echo "VERSION required" exit 1 diff --git a/appinfo/info.xml b/appinfo/info.xml index fc48124..d14d467 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -32,7 +32,7 @@ Notice Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**. In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/). ]]> - 3.7.0 + 3.7.1 agpl Simon Vieille SideMenu