mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +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);
|
refreshDirectory(StagingFolder);
|
||||||
|
|
||||||
//increment build number until we have a unique one.
|
//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;
|
int increment = 0;
|
||||||
while (Directory.GetFiles(ReleasesFolder, $"*{verBase}{increment}*").Any())
|
while (Directory.GetFiles(ReleasesFolder, $"*{verBase}{increment}*").Any())
|
||||||
increment++;
|
increment++;
|
||||||
|
Loading…
Reference in New Issue
Block a user