diff --git a/src/UpdateAssemblyInfo/Program.cs b/src/UpdateAssemblyInfo/Program.cs index 4e358c5b5..9dab8ccb3 100644 --- a/src/UpdateAssemblyInfo/Program.cs +++ b/src/UpdateAssemblyInfo/Program.cs @@ -41,7 +41,7 @@ namespace UpdateAssemblyInfo private int Major { get; } private int Minor { get; } private int Maintenance { get; } - public int Build { get; } + public int Build { get; set; } public string RevisionGuid { get; } public string FullVersion => string.Format(CultureInfo.InvariantCulture, "{0:D}.{1:D}.{2:D}.{3:D} {4}", Major, Minor, Maintenance, Build, RevisionGuid).TrimEnd(); @@ -478,7 +478,7 @@ namespace UpdateAssemblyInfo { var s = line.Trim('\r'); var searchStr = $"{targetVariable}:"; - if (s.StartsWith(searchStr.TrimStart(), StringComparison.OrdinalIgnoreCase)) + if (s.TrimStart().StartsWith(searchStr.TrimStart(), StringComparison.OrdinalIgnoreCase)) { var start = line.Substring(0, line.IndexOf(searchStr, StringComparison.OrdinalIgnoreCase) + searchStr.Length); sb.AppendLine($"{start} {targetValue}"); diff --git a/winget/Nikse.SubtitleEdit.installer.yaml b/winget/Nikse.SubtitleEdit.installer.yaml index 2b6ce10a9..094bb7152 100644 --- a/winget/Nikse.SubtitleEdit.installer.yaml +++ b/winget/Nikse.SubtitleEdit.installer.yaml @@ -31,11 +31,11 @@ FileExtensions: ReleaseDate: 2022-11-20 Installers: - Architecture: x64 - InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.8/SubtitleEdit-3.6.8-Setup.exe - InstallerSha256: 1271549F5C359DAD26A71BAD6E1B929A9ACA0AF7EFE47A4AFEE7408B1FBD6D45 + InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.9/SubtitleEdit-3.6.9-Setup.exe + InstallerSha256: 6E7A8A23A645C41BDF7D67B00A8CC390D2F77644F8A401A08DD9FCFC7F966552 - Architecture: x86 - InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.8/SubtitleEdit-3.6.8-Setup.exe - InstallerSha256: 1271549F5C359DAD26A71BAD6E1B929A9ACA0AF7EFE47A4AFEE7408B1FBD6D45 + InstallerUrl: https://github.com/SubtitleEdit/subtitleedit/releases/download/3.6.9/SubtitleEdit-3.6.9-Setup.exe + InstallerSha256: 6E7A8A23A645C41BDF7D67B00A8CC390D2F77644F8A401A08DD9FCFC7F966552 ManifestType: installer ManifestVersion: 1.2.0