1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
* 4.3
This commit is contained in:
Éric Gaspar 2021-11-23 07:42:12 +01:00 committed by GitHub
parent 8b3ff9b809
commit d4fd9f07d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 13 deletions

View file

@ -116,9 +116,6 @@ done
# GENERIC FINALIZATION
#=================================================
# Install moreutils, needed for sponge
sudo apt-get install moreutils
# Replace new version in manifest
echo "$(jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json)" > manifest.json

View file

@ -19,7 +19,7 @@ CodiMD is the free software version of HackMD, developed and opened source by th
CodiMD is perfect for open communities, while HackMD emphasizes on permission and access controls for commercial use cases.
**Shipped version:** 2.4.1~ynh3
**Shipped version:** 2.4.1~ynh4

View file

@ -15,7 +15,7 @@ CodiMD est la version logicielle libre de HackMD, développée et ouverte par l'
CodiMD est parfait pour les communautés ouvertes, tandis que HackMD met l'accent sur les autorisations et les contrôles d'accès pour les cas d'utilisation commerciale.
**Version incluse :** 2.4.1~ynh3
**Version incluse :** 2.4.1~ynh4

View file

@ -1,8 +1,4 @@
location / {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://127.0.0.1:__PORT__/;
proxy_redirect off;

View file

@ -6,7 +6,7 @@
"en": "Collaborative editor to work on notes written in Markdown",
"fr": "Éditeur collaboratif pour travailler sur des notes en Markdown"
},
"version": "2.4.1~ynh3",
"version": "2.4.1~ynh4",
"url": "https://github.com/hackmdio/codimd",
"upstream": {
"license": "AGPL-3.0-only",
@ -20,7 +20,7 @@
"name": "eric_G"
},
"requirements": {
"yunohost": ">= 4.2.4"
"yunohost": ">= 4.3.0"
},
"multi_instance": false,
"services": [

View file

@ -119,7 +119,7 @@ ynh_script_progression --message="Building CodiMD... (this will take some time a
pushd $final_path
ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH bin/setup
ynh_exec_as $app env $ynh_node_load_PATH npm run build
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm run build
popd
#=================================================

View file

@ -136,7 +136,7 @@ then
pushd "$final_path"
ynh_use_nodejs
ynh_exec_warn_less bin/setup
ynh_exec_warn_less ynh_npm run build
ynh_exec_warn_less $ynh_npm run build
popd
fi