Store the date a build is created

This commit is contained in:
flightlevel
2018-10-28 18:27:10 +11:00
parent 7cc19212f5
commit 93d5acd355
3 changed files with 40 additions and 12 deletions

View File

@@ -211,4 +211,11 @@
</EmbeddedResource>
</ItemGroup>
<!-- Save the compiled date so that we know if the user is running an old version of Jackett -->
<ItemGroup>
<AssemblyAttribute Include="Jackett.Common.Utils.BuildDateAttribute">
<_Parameter1>$([System.DateTime]::UtcNow.ToString("yyyyMMddHHmmss"))</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
</Project>