Skip to content

Commit 8a15568

Browse files
author
Kristan Kenney
committed
Change versioning scheme
1 parent 2e35514 commit 8a15568

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

func/upgrade.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ is_debug_build() {
1212
fi
1313

1414
# Remove pre-release designation tags from display version
15-
DISPLAY_VER=$(echo $new_version | sed "s|-alpha||g" | sed "s|-beta||g")
15+
DISPLAY_VER=$(echo $new_version | sed "s|~alpha||g" | sed "s|~beta||g")
1616
}
1717

1818
upgrade_health_check() {
@@ -483,7 +483,7 @@ upgrade_start_routine() {
483483
function check_version { echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4); }'; }
484484

485485
# Remove pre-release designation from version number for upgrade scripts
486-
VERSION=$(echo $VERSION | sed "s|-alpha||g" | sed "s|-beta||g")
486+
VERSION=$(echo $VERSION | sed "s|~alpha||g" | sed "s|~beta||g")
487487

488488
# Get list of all available version steps and create array
489489
upgrade_steps=$(ls $HESTIA/install/upgrade/versions/*.sh)

src/deb/hestia/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia
22
Package: hestia
33
Priority: optional
4-
Version: 1.2.3-alpha
4+
Version: 1.2.3~alpha
55
Section: admin
66
Maintainer: HestiaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

0 commit comments

Comments
 (0)