Skip to content

Commit ab8437c

Browse files
Read version from project_version.json in qlabvmctl
- qlabvmctl now dynamically reads version from project_version.json - Made create-release-tarball.sh executable - Updated tarball with latest changes
1 parent 5ca75c4 commit ab8437c

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

create-release-tarball.sh

100644100755
File mode changed.

latest-release/server-hub.tar.gz

42 Bytes
Binary file not shown.

qemu-kvm-manage/scripts-to-manage-vms/qlabvmctl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ source /server-hub/common-utils/color-functions.sh
1515
# Script directory - same directory as this script
1616
SCRIPT_DIR="/server-hub/qemu-kvm-manage/scripts-to-manage-vms"
1717

18-
# Version
19-
VERSION="1.0.0"
18+
# Version - read from project_version.json
19+
VERSION=$(grep -o '"message": *"[^"]*"' /server-hub/project_version.json | cut -d'"' -f4)
2020

2121
# Display usage information
2222
show_usage() {

0 commit comments

Comments
 (0)