If one checks the Tomcat homepage then one could see some versions, but not only the latest. Off course I could parse the website and find the version, but I am looking for a Tomcat API that shows the latest version to prevent that I have to create a script that is error prone.
Why?
I would like to automate the update of our internal tomcat packages. At the moment someone is checking the latest version and create the debian package manually, but I want to see that that is automated.
What has been tried?
- The github mirror does not show the latest version https://github.com/apache/tomcat/releases
- The official tomcat html could be parsed, but that does not seem to be the easiest solution
curl https://api.github.com/repos/apache/tomcat/releases/latestreturns:{ "message": "Not Found", "documentation_url": "https://developer.github.com/v3/repos/releases/#get-the-latest-release" }
v9.0.5listed 19 days ago. The Tomcat official page seems to havev9.0.5as the latest as well. So it looks like they do keep the mirror up to date. I actually have code for doing this as I use it for parsing the latest version on some other projects. I could share. Is there a reason you see that the GitHub releases page won't work? – BoomShadow Feb 25 '18 at 18:38TOMCAT_9_0_0_m27– 030 Feb 25 '18 at 18:56