<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_next_version(self, increment=None):
 		""" 		Return the next version based on prior tagged releases. 		"""

		increment = increment or self.increment
		return self.infer_next_version(self.get_latest_version(), increment)