Build: changed release tasks to be compatible with UMD