Skip to content

Commit 1d46185

Browse files
author
Kristan Kenney
committed
Change release branching structure
release: The latest stable release available via APT prerelease: Beta/release candidate releases master: The latest development code from GitHub
1 parent 3b49307 commit 1d46185

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

bin/v-change-sys-release

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ if [ -z "$branch" ]; then
2727
echo "Usage: v-change-sys-release branchname"
2828
echo ""
2929
echo "Common release branches:"
30-
echo "(*) master: Stable releases only"
31-
echo "(*) develop: Daily development builds"
30+
echo "(*) release: The latest stable release available via APT"
31+
echo "(*) prerelease: Beta/release candidate releases"
32+
echo "(*) master: The latest development code from GitHub"
3233
echo ""
3334
echo "You can also specify another branch name from the"
3435
echo "GitHub repository to install the code from that branch."
@@ -48,7 +49,7 @@ else
4849

4950
# Set new branch variable
5051
echo "RELEASE_BRANCH='$branch'" >> $HESTIA/conf/hestia.conf
51-
echo "Changed system release to update from Git branch: $branch"
52+
echo "Changed system release to update from branch: $branch"
5253
fi
5354

5455
#----------------------------------------------------------#

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
10681068

10691069
# Version & Release Branch
10701070
echo "VERSION='1.0.1'" >> $HESTIA/conf/hestia.conf
1071-
echo "RELEASE_BRANCH='master'" >> $HESTIA/conf/hestia.conf
1071+
echo "RELEASE_BRANCH='release'" >> $HESTIA/conf/hestia.conf
10721072

10731073
# Installing hosting packages
10741074
cp -rf $hestiacp/packages $HESTIA/data/

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
10331033

10341034
# Version & Release Branch
10351035
echo "VERSION='1.0.1'" >> $HESTIA/conf/hestia.conf
1036-
echo "RELEASE_BRANCH='master'" >> $HESTIA/conf/hestia.conf
1036+
echo "RELEASE_BRANCH='release'" >> $HESTIA/conf/hestia.conf
10371037

10381038
# Installing hosting packages
10391039
cp -rf $hestiacp/packages $HESTIA/data/

install/upgrade/version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ release_branch_check=$(cat $HESTIA/conf/hestia.conf | grep RELEASE_BRANCH)
55
if [ -z "$release_branch_check" ]; then
66
echo "(*) Adding global release branch variable to system configuration..."
77
sed -i "/RELEASE_BRANCH/d" $HESTIA/conf/hestia.conf
8-
echo "RELEASE_BRANCH='master'" >> $HESTIA/conf/hestia.conf
8+
echo "RELEASE_BRANCH='release'" >> $HESTIA/conf/hestia.conf
99
fi
1010

1111
# Step through version upgrade scripts in order as necessary to ensure that systems

0 commit comments

Comments
 (0)