weizhouapache commented on code in PR #9450:
URL: https://github.com/apache/cloudstack/pull/9450#discussion_r1694706650


##########
packaging/centos8/cloud.spec:
##########
@@ -260,7 +260,8 @@ install -D 
client/target/utilities/bin/cloud-setup-baremetal ${RPM_BUILD_ROOT}%{
 install -D client/target/utilities/bin/cloud-sysvmadm 
${RPM_BUILD_ROOT}%{_bindir}/%{name}-sysvmadm
 install -D client/target/utilities/bin/cloud-update-xenserver-licenses 
${RPM_BUILD_ROOT}%{_bindir}/%{name}-update-xenserver-licenses
 # Bundle cmk in cloudstack-management
-wget 
https://github.com/apache/cloudstack-cloudmonkey/releases/download/6.3.0/cmk.linux.x86-64
 -O ${RPM_BUILD_ROOT}%{_bindir}/cmk
+CMK_REL=$(wget -O - 
"https://api.github.com/repos/apache/cloudstack-cloudmonkey/tags"; 2>/dev/null | 
jq -r '.[0].name')

Review Comment:
   ```suggestion
   CMK_REL=$(wget -O - 
"https://api.github.com/repos/apache/cloudstack-cloudmonkey/releases"; 
2>/dev/null | jq -r '.[0].tag_name')
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to