build src into build and release