If you need custom config for different environment, you need to create a new config folder and set the HYBRIS_CONFIG_DIR var in you environnement
For instance, if you want to create the production config
cp -r config config_prod
export HYBRIS_CONFIG_DIR=<project path>/config_prod
cd bin/platform
ant all