mirror of
https://github.com/YunoHost-Apps/ifconfig-io_ynh.git
synced 2024-09-03 20:36:27 +02:00
commit
f258f4796d
3 changed files with 9 additions and 6 deletions
|
@ -7,7 +7,6 @@
|
|||
; Manifest
|
||||
domain="domain.tld"
|
||||
path="/path"
|
||||
is_public=1
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
|
@ -16,8 +15,8 @@
|
|||
setup_private=0
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
# 2021.02.16~ynh1
|
||||
upgrade=0 from_commit=68a38f6e9b2e357db46d2827a9781f58ea2422cc
|
||||
# 2021.02.16~ynh2
|
||||
upgrade=1 from_commit=708eaeab27f4ce47036a712c7452d916c5b741a8
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
port_already_use=0
|
||||
|
@ -26,6 +25,6 @@
|
|||
Email=
|
||||
Notification=none
|
||||
;;; Upgrade options
|
||||
; commit=68a38f6e9b2e357db46d2827a9781f58ea2422cc
|
||||
name=2021.02.16~ynh1
|
||||
manifest_arg=domain=DOMAIN&path=PATH&&is_public=1
|
||||
; commit=708eaeab27f4ce47036a712c7452d916c5b741a8
|
||||
name=2021.02.16~ynh2
|
||||
manifest_arg=domain=DOMAIN&path=PATH
|
||||
|
|
|
@ -100,6 +100,8 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing..." --weight=5
|
||||
|
||||
export GO111MODULE=on
|
||||
|
||||
pushd "$app_path"
|
||||
ynh_exec_warn_less go mod download
|
||||
ynh_exec_warn_less go build
|
||||
|
|
|
@ -106,6 +106,8 @@ ynh_install_app_dependencies $pkg_dependencies
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading..." --weight=5
|
||||
|
||||
export GO111MODULE=on
|
||||
|
||||
pushd "$app_path"
|
||||
ynh_exec_warn_less go mod download
|
||||
ynh_exec_warn_less go build
|
||||
|
|
Loading…
Add table
Reference in a new issue