I use
Jenkins, and there is a job on Jenkins which perform deploy and release. When I run this 'release job' it changes the versions from snapshot to stable version and then prepare snapshot again (which is right), but I need to generate and deploy site (but only for release), so i thought, if profiles can solve this problem. Also I would like the site generation to be a separate job... But I have no idea, how could I do this.