Cucumber : How to manage scripts by website version

Hi Guys,

I would like to know which way you use to manage script version for a same cucumber feature according your website upgrades

For example, for the same step @Then(“I can search and assert an event”) according a varaible GlobalVariable.WEBSITE_VERSION, I would like to call a specific script.

Many thanks,