mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Fix minor issue with master 2 main
This commit is contained in:
parent
1bc1eeee63
commit
2623a3a5f1
@ -254,7 +254,7 @@ namespace UpdateAssemblyInfo
|
||||
{
|
||||
currentRepositoryVersion = new VersionInfo(); // no git repository
|
||||
}
|
||||
if (clrHash.RunCommandAndGetOutput(gitPath, "rev-parse --verify refs/heads/master", workingDirectory) && clrTags.RunCommandAndGetOutput(gitPath, "describe --long --tags refs/heads/master", workingDirectory))
|
||||
if (clrHash.RunCommandAndGetOutput(gitPath, "rev-parse --verify refs/heads/main", workingDirectory) && clrTags.RunCommandAndGetOutput(gitPath, "describe --long --tags refs/heads/main", workingDirectory))
|
||||
{
|
||||
if (!LongGitTagRegex.IsMatch(clrTags.Result) && !ShortGitTagRegex.IsMatch(clrTags.Result))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user