Add condition to release directory