Skip to content

Commit

Permalink
Rollback the build and revision number.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Jun 24, 2024
1 parent 0267ff0 commit 89e554f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions Documents/Versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ This document applies to all versions of NanaRun.

## The rule for build and revision number

The build number is the number of days since May 16, 2022 because the first
version of NanaRun is created and published on that day.
The build number is the number of days since May 1, 2024 because that day is the
10th anniversary of the first version of NSudo is created and published.

~~The build number is the number of days since May 16, 2022 because the first
version of NanaRun is created and published on that day.~~

The revision number is the number of releases releases in the day corresponding
to the build number, and it counts from zero. So the first revision is 0 and
Expand Down
2 changes: 1 addition & 1 deletion MinSudo/MinSudo.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<MileProjectLegalCopyright>© M2-Team and Contributors. All rights reserved.</MileProjectLegalCopyright>
<MileProjectOriginalFilename>MinSudo.exe</MileProjectOriginalFilename>
<MileProjectProductName>NanaRun</MileProjectProductName>
<MileProjectVersion>1.0.$([System.DateTime]::Today.Subtract($([System.DateTime]::Parse('2022-05-16'))).TotalDays).0</MileProjectVersion>
<MileProjectVersion>1.0.$([System.DateTime]::Today.Subtract($([System.DateTime]::Parse('2024-05-01'))).TotalDays).0</MileProjectVersion>
<MileProjectVersionTag>Preview 2</MileProjectVersionTag>
</PropertyGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.x86.props" />
Expand Down
2 changes: 1 addition & 1 deletion NanaRun/NanaRun.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<MileProjectLegalCopyright>© M2-Team and Contributors. All rights reserved.</MileProjectLegalCopyright>
<MileProjectOriginalFilename>NanaRun.exe</MileProjectOriginalFilename>
<MileProjectProductName>NanaRun</MileProjectProductName>
<MileProjectVersion>1.0.$([System.DateTime]::Today.Subtract($([System.DateTime]::Parse('2022-05-16'))).TotalDays).0</MileProjectVersion>
<MileProjectVersion>1.0.$([System.DateTime]::Today.Subtract($([System.DateTime]::Parse('2024-05-01'))).TotalDays).0</MileProjectVersion>
<MileProjectVersionTag>Preview 2</MileProjectVersionTag>
</PropertyGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Platform.x86.props" />
Expand Down

0 comments on commit 89e554f

Please sign in to comment.