Browse Source

set the new version number in upgrade script

Kay0u 4 years ago
parent
commit
ddc5f3e709
1 changed files with 7 additions and 0 deletions
  1. 7 0
      scripts/upgrade

+ 7 - 0
scripts/upgrade

@@ -342,6 +342,13 @@ then
     ynh_store_file_checksum --file="$setupVars"
 fi
 
+#=================================================
+# SET VERSIONS FOR THE FOOTER OF THE WEB INTERFACE
+#=================================================
+
+echo "master master master" > $pihole_storage/localbranches
+echo "$pihole_core_version $dashboard_version $FTL_version" | tee $pihole_storage/{GitHubVersions,localversions}  > /dev/null
+
 #=================================================
 # UPDATE CRON JOB
 #=================================================