Trim whitespace from revision number, which may cause build issues.
This commit is contained in:
parent
d9eaf4562c
commit
e91af6c70b
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ namespace Build.UpdateVersion
|
||||||
string build = ((int)timespan).ToString();
|
string build = ((int)timespan).ToString();
|
||||||
|
|
||||||
string revision = RetrieveSvnRevision() ?? RetrieveBzrRevision() ?? RetrieveSeconds(timespan);
|
string revision = RetrieveSvnRevision() ?? RetrieveBzrRevision() ?? RetrieveSeconds(timespan);
|
||||||
//string revision = RetrieveSvnRevision() ?? RetrieveSeconds(timespan);
|
revision = revision.Trim();
|
||||||
|
|
||||||
File.WriteAllLines(file, new string[]
|
File.WriteAllLines(file, new string[]
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue