Преглед изворни кода

Merge pull request #22 from orhtej2/patch-1

Use NodeJS 20 + use clean env for building
eric_G пре 2 година
родитељ
комит
29be624280
3 измењених фајлова са 4 додато и 3 уклоњено
  1. 1 1
      scripts/_common.sh
  2. 1 1
      scripts/upgrade
  3. 2 1
      tests.toml

+ 1 - 1
scripts/_common.sh

@@ -7,7 +7,7 @@
 #=================================================
 
 # nodejs version
-nodejs_version=18
+nodejs_version=20
 
 #=================================================
 # PERSONAL HELPERS

+ 1 - 1
scripts/upgrade

@@ -36,7 +36,7 @@ then
 	ynh_script_progression --message="Upgrading source files..." --weight=1
 
 	# Download, check integrity, uncompress and patch the source from app.src
-	ynh_setup_source --dest_dir="$install_dir" --keep=".env"
+	ynh_setup_source --dest_dir="$install_dir" --full_replace=1
 fi
 
 chmod -R o-rwx "$install_dir"

+ 2 - 1
tests.toml

@@ -1,3 +1,4 @@
 test_format = 1.0
 
-[default]
+[default]
+    test_upgrade_from.6c6179b.name = "1.3.4"