Added build step to release
Added dirty branch check
Relocated echo