Skip to content

Commit

Permalink
Make sure software version is set
Browse files Browse the repository at this point in the history
Signed-off-by: Doug Larson <[email protected]>
  • Loading branch information
dlarson04 committed Aug 19, 2024
1 parent 81d32f7 commit daf3d1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agent-install/edgeNodeFiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit daf3d1b

Please sign in to comment.