Skip to content

Commit

Permalink
Skipped more on beta.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Apr 7, 2024
1 parent 507d37e commit 797f918
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 797f918

Please sign in to comment.