Rename ISO before upload
Modified: trunk/cis/ReactOS.CustomRevisionAction/Main.cs

Modified: trunk/cis/ReactOS.CustomRevisionAction/Main.cs
--- trunk/cis/ReactOS.CustomRevisionAction/Main.cs	2005-11-24 16:23:07 UTC (rev 19531)
+++ trunk/cis/ReactOS.CustomRevisionAction/Main.cs	2005-11-24 16:33:38 UTC (rev 19532)
@@ -185,6 +185,11 @@
 		                                                  string branch,
 		                                                  int revision)
 		{
+			string distributionFilename = GetDistributionFilename(branch,
+			                                                      revision);
+			string destinationFilename = Path.Combine(Path.GetDirectoryName(sourceFilename),
+			                                          distributionFilename);
+			File.Move(sourceFilename, distributionFilename);
 			string server;
 			string directory;
 			SplitRemotePublishPath(publishPath, out server, out directory);
@@ -196,7 +201,7 @@
 			if (!ftpClient.DirectoryExists(branch))
 				ftpClient.MakeDir(branch);
 			ftpClient.ChangeDir(branch);
-			ftpClient.Upload(sourceFilename);
+			ftpClient.Upload(destinationFilename);
 			ftpClient.Close();
 		}