Skip to content

Commit

Permalink
Merge pull request #4139 from dlarson04/issue_4138
Browse files Browse the repository at this point in the history
Make sure software version is set
  • Loading branch information
LiilyZhang authored Aug 19, 2024
2 parents 81d32f7 + daf3d1b commit 2a77df0
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 2a77df0

Please sign in to comment.