Lets always assume a PATCH is a manual process.

A PATCH is a critical stability, security, or performance bugfix. Something that gets applied immediately. This script is for regular releases so we can assume the PATCH is always reset to '0'.