Write .release config to env_dir