Commits

Christian Specht committed a8d1b0c

update copyright year in assembly info with MSBuild Community Tasks

Comments (0)

Files changed (2)

src/BitbucketBackup/BitbucketBackup.csproj

        -->
   <Import Project="..\.build\MSBuild.Community.Tasks.Targets" />
   <Target Name="BeforeBuild">
+    <Time>
+      <Output TaskParameter="Year" PropertyName="Year" />
+    </Time>
     <PropertyGroup>
       <ProdVer>0.0</ProdVer>
     </PropertyGroup>
     <PropertyGroup>
       <ProdVer Condition="'$(VersionNumber)' != ''">$(VersionNumber)</ProdVer>
     </PropertyGroup>
-    <AssemblyInfo CodeLanguage="CS" OutputFile="AssemblyVersion.cs" AssemblyVersion="$(ProdVer)" AssemblyFileVersion="$(ProdVer)" />
+    <AssemblyInfo CodeLanguage="CS" OutputFile="AssemblyVersion.cs" AssemblyVersion="$(ProdVer)" AssemblyFileVersion="$(ProdVer)" AssemblyCopyright="Copyright © Christian Specht 2011-$(Year)" />
   </Target>
   <Target Name="AfterBuild">
   </Target>

src/BitbucketBackup/Properties/AssemblyInfo.cs

 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("christianspecht.de/bitbucket-backup")]
 [assembly: AssemblyProduct("Bitbucket Backup")]
-[assembly: AssemblyCopyright("Copyright © Christian Specht 2011-2013")]
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]