changed name output format

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40544
This commit is contained in:
David Anderson 2007-02-26 09:12:32 +00:00
parent 38532ccdad
commit 57a69562cf

View File

@ -154,12 +154,12 @@ namespace builder
public string PackageBuildName(Package pkg) public string PackageBuildName(Package pkg)
{ {
return pkg.GetPackageName() return pkg.GetPackageName()
+ "-"
+ DateTime.Now.Day.ToString("00")
+ DateTime.Now.Month.ToString("00")
+ DateTime.Now.Year
+ "-r" + "-r"
+ GetRevsionOfPath(cfg.SourceBase); + GetRevsionOfPath(cfg.SourceBase)
+ "-"
+ DateTime.Now.Year
+ DateTime.Now.Month.ToString("00")
+ DateTime.Now.Day.ToString("00");
} }
public void BuildPackage(Package pkg) public void BuildPackage(Package pkg)