From daf3d1b078e07a36b18f929f96053576bc5aeeb0 Mon Sep 17 00:00:00 2001 From: Doug Larson Date: Mon, 19 Aug 2024 05:32:54 -0700 Subject: [PATCH] Make sure software version is set Signed-off-by: Doug Larson --- agent-install/edgeNodeFiles.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent-install/edgeNodeFiles.sh b/agent-install/edgeNodeFiles.sh index 0677c619e..281d70c0f 100755 --- a/agent-install/edgeNodeFiles.sh +++ b/agent-install/edgeNodeFiles.sh @@ -372,6 +372,9 @@ function putOneFileInCss() { if [ ! -z ${version} ]; then META_DATA=$( echo "${META_DATA}" | jq --arg VERSION ${version} '. + {version: $VERSION}' ) + + # Will set the software package version if not set yet + setSoftwarePackageVersion ${version} fi if [[ $addExpiration == true ]]; then @@ -759,9 +762,6 @@ function putHorizonPkgsInCss() { # Add the tarFile name array for the manifest addElementToArray $horizonSoftwareFiles $tarFile - - # Will set the software package version if not set yet - setSoftwarePackageVersion ${pkgVersion} fi # Remove the tar file (it was only needed to put into CSS)