misc: fix transform regex in update years workflow

This commit is contained in:
genteure 2023-06-17 20:56:30 +08:00
parent 4375cf3f93
commit 0e7e2d03c9
3 changed files with 3 additions and 3 deletions

View File

@ -18,4 +18,4 @@ jobs:
path: |
Directory.Build.props
BililiveRecorder.WPF/Properties/AssemblyInfo.cs
transform: 'Copyright © (?<from>\d{4}) - (\d{4})'
transform: '(?<=Copyright © )(?<from>\d{4})-(\d{4})'

View File

@ -10,7 +10,7 @@ using System.Windows;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Genteure")]
[assembly: AssemblyProduct("B站录播姬")]
[assembly: AssemblyCopyright("Copyright © 2018 - 2023 Genteure")]
[assembly: AssemblyCopyright("Copyright © 2018-2023 Genteure")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

View File

@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Copyright>Copyright © 2018 - 2023 Genteure</Copyright>
<Copyright>Copyright © 2018-2023 Genteure</Copyright>
<Authors>Genteure</Authors>
<Company>$(Authors)</Company>
<LangVersion>9.0</LangVersion>