/// <summary> /// Get a release pak file path, if we are currently building a patch then get the previous release pak file path, if we are creating a new release this will be the output path /// </summary> /// <param name="SC"></param> /// <param name="Params"></param> /// <param name="PakName"></param> /// <returns></returns> public virtual string GetReleasePakFilePath(DeploymentContext SC, ProjectParams Params, string PakName) { if (Params.IsGeneratingPatch) { return(CombinePaths(Params.GetBasedOnReleaseVersionPath(SC, Params.Client), PakName)); } else { return(CombinePaths(Params.GetCreateReleaseVersionPath(SC, Params.Client), PakName)); } }