Skip to content

Commit

Permalink
Remove trailing zero in revision if present
Browse files Browse the repository at this point in the history
Fixes #201
  • Loading branch information
kzu committed Oct 21, 2015
1 parent b2cf2d3 commit 664c46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.proj
Expand Up @@ -55,7 +55,7 @@
<!-- Build number is of the format (2 digit year)(2 digit month) -->
<Build>$([System.DateTime]::UtcNow.ToString("yyMM"))</Build>
<!-- Revision number is of the format (2 digit hour)(2 digit minutes) -->
<Revision>$([System.DateTime]::UtcNow.ToString("ddHH"))</Revision>
<Revision>$([System.DateTime]::UtcNow.ToString("ddHH").TrimStart('0'))</Revision>
<FileVersion>$(Major).$(Minor).$(Build).$(Revision)</FileVersion>
<!-- TODO: maybe we should have two builds, one that builds the public simplified version
and one with the full build/revision -->
Expand Down

1 comment on commit 664c46c

@kzu
Copy link
Contributor Author

@kzu kzu commented on 664c46c Oct 21, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting zero, rather :)

Please sign in to comment.