To deploy a new version of a process, just deploy a new process with the same name and namespace as an already deployed process. The version is automatically incremented.
Only one version of a process can be active. If multiple versions are deployed:
when a version becomes active, the previously active version becomes retired.
when the active version is undeployed, the highest retired version becomes active.
when a new version is deployed, it becomes active.