Просмотр исходного кода

Initial commit of versioning for 1.0.2

Kristan Kenney 6 лет назад
Родитель
Сommit
16c8cd15ba

+ 2 - 2
install/hst-install-debian.sh

@@ -412,7 +412,7 @@ echo ' |  _  |  __/\__ \ |_| | (_| | |___|  __/ '
 echo ' |_| |_|\___||___/\__|_|\__,_|\____|_|    '
 echo
 echo '                      Hestia Control Panel'
-echo '                                    v1.0.1'
+echo '                                    v1.0.2'
 echo -e "\n"
 echo "=============================================================================="
 echo -e "\n"
@@ -1094,7 +1094,7 @@ echo "BACKUP_SYSTEM='local'" >> $HESTIA/conf/hestia.conf
 echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
 
 # Version & Release Branch
-echo "VERSION='1.0.1'" >> $HESTIA/conf/hestia.conf
+echo "VERSION='1.0.2'" >> $HESTIA/conf/hestia.conf
 echo "RELEASE_BRANCH='release'" >> $HESTIA/conf/hestia.conf
 
 # Installing hosting packages

+ 2 - 2
install/hst-install-ubuntu.sh

@@ -390,7 +390,7 @@ echo ' |  _  |  __/\__ \ |_| | (_| | |___|  __/ '
 echo ' |_| |_|\___||___/\__|_|\__,_|\____|_|    '
 echo
 echo '                      Hestia Control Panel'
-echo '                                    v1.0.1'
+echo '                                    v1.0.2'
 echo -e "\n"
 echo "=============================================================================="
 echo -e "\n"
@@ -1057,7 +1057,7 @@ echo "BACKUP_SYSTEM='local'" >> $HESTIA/conf/hestia.conf
 echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
 
 # Version & Release Branch
-echo "VERSION='1.0.1'" >> $HESTIA/conf/hestia.conf
+echo "VERSION='1.0.2'" >> $HESTIA/conf/hestia.conf
 echo "RELEASE_BRANCH='release'" >> $HESTIA/conf/hestia.conf
 
 # Installing hosting packages

+ 5 - 1
install/upgrade/version.sh

@@ -26,6 +26,10 @@ if [ $VERSION = "0.9.8-29" ]; then
     VERSION="1.00.0-190618"
 fi
 if [ $VERSION = "0.10.00" ] || [ $VERSION = "1.00.0-190618" ] || [ $VERSION = "1.00.0-190621" ]; then
+    source /usr/local/hestia/install/upgrade/versions/1.0.1.sh
+    VERSION="1.0.1"
+fi
+if [ $VERSION = "1.0.1" ]; then
     source /usr/local/hestia/install/upgrade/versions/$version.sh
     VERSION="$version"
-fi
+fi

+ 9 - 0
install/upgrade/versions/1.0.2.sh

@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Hestia Control Panel upgrade script for target version 1.0.2
+
+#######################################################################################
+#######                      Place additional commands below.                   #######
+#######################################################################################
+
+

+ 1 - 1
src/deb/hestia/control

@@ -1,7 +1,7 @@
 Source: hestia
 Package: hestia
 Priority: optional
-Version: 1.0.1
+Version: 1.0.2
 Section: admin
 Maintainer: HestiaCP <info@hestiacp.com>
 Homepage: https://www.hestiacp.com