fix release number only when release profile is active