fixed a bug where version was not getting inserted into callhome properly

This commit is contained in:
Vinay Aggarwal
2020-03-26 16:56:23 -07:00
parent 4a2373199c
commit 8c3e01784d

View File

@@ -28,7 +28,7 @@ do
#Create installer-info file #Create installer-info file
if [ "$EDITION" == "artifactory-pro" ] if [ "$EDITION" == "artifactory-pro" ]
then then
cat <<" EOF" > installer-info.json cat <<EOF > installer-info.json
{ {
"productId": "CloudFormation_artifactory-ha/$VERSION", "productId": "CloudFormation_artifactory-ha/$VERSION",
"features": [ "features": [
@@ -37,9 +37,9 @@ do
} }
] ]
} }
EOF EOF
else else
cat <<" EOF" > installer-info.json cat <<EOF > installer-info.json
{ {
"productId": "CloudFormation_artifactory-jcr/$VERSION", "productId": "CloudFormation_artifactory-jcr/$VERSION",
"features": [ "features": [
@@ -48,7 +48,7 @@ do
} }
] ]
} }
EOF EOF
fi fi
cat installer-info.json cat installer-info.json