mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Updated "UpdateAssemblyInfo" so it works with empty build number
This commit is contained in:
parent
d8c794434f
commit
0ac2923aaf
@ -62,6 +62,8 @@ namespace UpdateAssemblyInfo
|
||||
try
|
||||
{
|
||||
DoUpdateAssembly("[GITHASH]", clrHash.Result, template, target);
|
||||
if (!clrTags.Result.Contains("-"))
|
||||
clrTags.Result += "-0";
|
||||
DoUpdateAssembly("[REVNO]", clrTags.Result.Split('-')[1] , target, target);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user