diff --git a/scripts/_common.sh b/scripts/_common.sh index 7912aa4..655d213 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,9 @@ # COMMON VARIABLES #================================================= -nodejs_version=14 +nodejs_version="14" + +tiddlywiki_version="5.2.1" #================================================= # PERSONAL HELPERS diff --git a/scripts/upgrade b/scripts/upgrade index 20d0978..707c099 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,8 +94,7 @@ then pushd $final_path ynh_use_nodejs - #npm update -g tiddlywiki - ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm update -g tiddlywiki@5.2.1 + ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm update -g tiddlywiki@${tiddlywiki_version} popd fi