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/latest
returns:{ "message": "Not Found", "documentation_url": "https://developer.github.com/v3/repos/releases/#get-the-latest-release" }