Automatically updating Camunda DB scripts when Camunda version changes

I’m working on a script to automatically update our Spring Boot dependencies so that we don’t have to manually go through our pom.xml each quarter and update. One thing I’m not sure of is if the Camunda version updates, is there anyway to automate updating the Camunda DB scripts in the project as well? Right now we are manually going to the Camunda website and downloading the new zip file and pasting the scripts inside the project.

I haven’t had much luck finding information on how to do this online using flyway(which would be my preferred method).