use pre as version suffix and 0 if there is no version