Building plugin in Kibana 7.8.0

Unfortunately I cannot upgrade to 7.10 as the production server is a government server and our contract with them requires Kibana 7.8. I'm currently running the Kibana development environment in a Docker container. I'm using the Kibana git repo (https://github.com/elastic/kibana.git) and checking out branch 7.8.0. Is there another branch I can switch to for 7.8 that has the fix for the generate_plugin script? One that will still allow my plugin to run on version 7.8.0 Kibana? Or can I run the generate_plugin script for 7.10 on 7.8?