mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Add version
This commit is contained in:
parent
887b4441e4
commit
d9d4b21b79
3 changed files with 10 additions and 0 deletions
6
conf/version.json
Normal file
6
conf/version.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"app": "moncycle.app",
|
||||||
|
"version": "9.0~ynh7",
|
||||||
|
"build": "2024-02-19",
|
||||||
|
"commit": "2eaf8d5"
|
||||||
|
}
|
|
@ -69,6 +69,8 @@ ynh_add_config --template="../conf/config.php" --destination="$install_dir/confi
|
||||||
chmod 400 "$install_dir/config.php"
|
chmod 400 "$install_dir/config.php"
|
||||||
chown $app:$app "$install_dir/config.php"
|
chown $app:$app "$install_dir/config.php"
|
||||||
|
|
||||||
|
ynh_add_config --template="../conf/version.json" --destination="$install_dir/api/version.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -113,6 +113,8 @@ ynh_add_config --template="../conf/config.php" --destination="$install_dir/confi
|
||||||
chmod 400 "$install_dir/config.php"
|
chmod 400 "$install_dir/config.php"
|
||||||
chown $app:$app "$install_dir/config.php"
|
chown $app:$app "$install_dir/config.php"
|
||||||
|
|
||||||
|
ynh_add_config --template="../conf/version.json" --destination="$install_dir/api/version.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue