I create a new build with a parametrized string. The name fo the parameter is VERSION.
In the build I have this command:
sed -i -e 's/REPLACE_ME/$VERSION/g' config/config.json
sed string with double quotes so that the variable is expanded properly.