mirror of
https://github.com/YunoHost-Apps/tandoor_ynh.git
synced 2024-09-03 20:35:56 +02:00
commit
129e80b18b
3 changed files with 14 additions and 0 deletions
2
conf/version.py
Normal file
2
conf/version.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
VERSION_NUMBER = "__VERSION__"
|
||||||
|
BUILD_REF = ""
|
|
@ -132,6 +132,12 @@ ynh_add_config --template=".env.template" --destination="$final_path/.env"
|
||||||
chmod 400 "$final_path/.env"
|
chmod 400 "$final_path/.env"
|
||||||
chown $app:$app "$final_path/.env"
|
chown $app:$app "$final_path/.env"
|
||||||
|
|
||||||
|
version=$(ynh_app_upstream_version)
|
||||||
|
|
||||||
|
ynh_add_config --template="version.py" --destination="$final_path/recipes/version.py"
|
||||||
|
chmod 400 "$final_path/recipes/version.py"
|
||||||
|
chown $app:$app "$final_path/recipes/version.py"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETUP
|
# SPECIFIC SETUP
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -128,6 +128,12 @@ ynh_add_config --template=".env.template" --destination="$final_path/.env"
|
||||||
chmod 400 "$final_path/.env"
|
chmod 400 "$final_path/.env"
|
||||||
chown $app:$app "$final_path/.env"
|
chown $app:$app "$final_path/.env"
|
||||||
|
|
||||||
|
version=$(ynh_app_upstream_version)
|
||||||
|
|
||||||
|
ynh_add_config --template="version.py" --destination="$final_path/recipes/version.py"
|
||||||
|
chmod 400 "$final_path/recipes/version.py"
|
||||||
|
chown $app:$app "$final_path/recipes/version.py"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue