Merge pull request 'Fix build process' (#231) from fix/issue230 into develop
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
gitea-sonarqube-bot ERROR
ci/woodpecker/pr/woodpecker Pipeline was successful

Reviewed-on: #231
This commit is contained in:
Simon Vieille 2023-03-19 09:58:11 +01:00
commit a7ec95da7c
4 changed files with 25 additions and 10 deletions

View file

@ -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 "<version>" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never)

View file

@ -1,5 +1,9 @@
## [Unreleased]
## 3.7.1
### Fixed
* fix build process (#230)
## 3.7.0
### Added
* add translations (thanks to AHOHNMYC)

View file

@ -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

View file

@ -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/).
]]></description>
<version>3.7.0</version>
<version>3.7.1</version>
<licence>agpl</licence>
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
<namespace>SideMenu</namespace>