How we can run release Build

I’m using gradle in Ubuntu For android SDK setup. I’m done the all the configuration i can able to get the build in debug output folder, How can we get the same from release output folder, Build type everything was configured, anyone help me on this.