diff --git a/FRBDK/BuildServerUploader/BuildServerUploaderConsole/Processes/UpdateAssemblyVersions.cs b/FRBDK/BuildServerUploader/BuildServerUploaderConsole/Processes/UpdateAssemblyVersions.cs index e168d5526..f6d8217a6 100644 --- a/FRBDK/BuildServerUploader/BuildServerUploaderConsole/Processes/UpdateAssemblyVersions.cs +++ b/FRBDK/BuildServerUploader/BuildServerUploaderConsole/Processes/UpdateAssemblyVersions.cs @@ -99,13 +99,16 @@ public override void ExecuteStep() //Save Version String for uploading - var destination = DirectoryHelper.ReleaseDirectory + @"\SingleDlls\VersionInfo.txt"; - if(IsBeta) + if(!IsBeta) { - destination = DirectoryHelper.ReleaseDirectory + @"\SingleDlls\VersionInfo-beta.txt"; + var destination = DirectoryHelper.ReleaseDirectory + @"\SingleDlls\VersionInfo.txt"; + FileManager.SaveText(GetVersionString(IsBeta), DirectoryHelper.ReleaseDirectory + destination); + Results.WriteMessage("VersionInfo file created."); + } + else + { + Results.WriteMessage("VersionInfo file skipped, not needed for beta."); } - FileManager.SaveText(GetVersionString(IsBeta), DirectoryHelper.ReleaseDirectory + destination); - Results.WriteMessage("VersionInfo file created."); } private void UpdateTemplateNugets()