fix(releaseBranch): fixed race condition