Fix build process #231
|
@ -1,25 +1,34 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
dependencies:
|
dependencies:
|
||||||
image: gitnet.fr/deblan/devenv
|
image: node:16
|
||||||
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- make dep
|
- npm i
|
||||||
when:
|
when:
|
||||||
event: [tag, push, pull_request]
|
event: [tag, push, pull_request]
|
||||||
branch: [master, develop, feature/*, translations]
|
branch: [master, develop, feature/*, translations]
|
||||||
|
|
||||||
osv_detector:
|
osv_detector:
|
||||||
image: gitnet.fr/deblan/docker-osv-detector:v0.9
|
image: gitnet.fr/deblan/osv-detector:v0.10
|
||||||
commands:
|
commands:
|
||||||
- osv-detector package-lock.json
|
- osv-detector package-lock.json
|
||||||
failure: ignore
|
failure: ignore
|
||||||
|
|
||||||
build:
|
build_js:
|
||||||
image: gitnet.fr/deblan/devenv
|
image: node:16
|
||||||
commands:
|
commands:
|
||||||
- make build
|
- npm run build
|
||||||
when:
|
when:
|
||||||
branch: [master, develop, feature/*, translations]
|
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:
|
code_quality:
|
||||||
image: sonarsource/sonar-scanner-cli
|
image: sonarsource/sonar-scanner-cli
|
||||||
|
@ -37,11 +46,13 @@ pipeline:
|
||||||
event: [pull_request]
|
event: [pull_request]
|
||||||
|
|
||||||
package:
|
package:
|
||||||
image: gitnet.fr/deblan/devenv
|
image: deblan/php:8.0
|
||||||
volumes:
|
volumes:
|
||||||
- /var/www/html/artifacts:/var/www/html/artifacts
|
- /var/www/html/artifacts:/var/www/html/artifacts
|
||||||
secrets: [app_certificate]
|
secrets: [app_certificate]
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y zip make
|
||||||
- mkdir -p "$HOME/.nextcloud/certificates"
|
- mkdir -p "$HOME/.nextcloud/certificates"
|
||||||
- echo "$APP_CERTIFICATE" > "$HOME/.nextcloud/certificates/side_menu.key"
|
- 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)
|
- export VERSION=$(grep "<version>" appinfo/info.xml | grep -o "[0-9]*\.[0-9]*\.[0-9]*" --color=never)
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## 3.7.1
|
||||||
|
### Fixed
|
||||||
|
* fix build process (#230)
|
||||||
|
|
||||||
## 3.7.0
|
## 3.7.0
|
||||||
### Added
|
### Added
|
||||||
* add translations (thanks to AHOHNMYC)
|
* add translations (thanks to AHOHNMYC)
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ dep:
|
||||||
npm link @nextcloud/vue || sudo npm link @nextcloud/vue
|
npm link @nextcloud/vue || sudo npm link @nextcloud/vue
|
||||||
|
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
release: build translations
|
release:
|
||||||
if [ -z "$$VERSION" ]; then
|
if [ -z "$$VERSION" ]; then
|
||||||
echo "VERSION required"
|
echo "VERSION required"
|
||||||
exit 1
|
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**.
|
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/).
|
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
|
||||||
]]></description>
|
]]></description>
|
||||||
<version>3.7.0</version>
|
<version>3.7.1</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
||||||
<namespace>SideMenu</namespace>
|
<namespace>SideMenu</namespace>
|
||||||
|
|
Loading…
Reference in a new issue