Fix build process #231
|
@ -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)
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
## [Unreleased]
|
||||
|
||||
## 3.7.1
|
||||
### Fixed
|
||||
* fix build process (#230)
|
||||
|
||||
## 3.7.0
|
||||
### Added
|
||||
* add translations (thanks to AHOHNMYC)
|
||||
|
|
2
Makefile
2
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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue