mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 20:22:55 +08:00
Update version number generation slightly.
This commit is contained in:
parent
35c920d04b
commit
d74a601180
@ -74,7 +74,7 @@ namespace osu.Desktop.Deploy
|
||||
refreshDirectory(StagingFolder);
|
||||
|
||||
//increment build number until we have a unique one.
|
||||
string verBase = DateTime.Now.ToString("yyyy.Md.");
|
||||
string verBase = DateTime.Now.ToString("yyyy.Mdd.");
|
||||
int increment = 0;
|
||||
while (Directory.GetFiles(ReleasesFolder, $"*{verBase}{increment}*").Any())
|
||||
increment++;
|
||||
|
Loading…
Reference in New Issue
Block a user