Skip to content

achieve reproducible build: Remove wildcard in AssemblyVersion #145

@tenzap

Description

@tenzap

In order for every build and rebuild of the same source code are reproducible (same output) could you please apply the change of this patch?

To achieve reproducible build, remove the wildcard for the
Revision of the AssemblyVersion
.
The wildcard for the revision corresponds to "The default revision number is
the number of seconds since midnight local time (without taking into account
time zone adjustments for daylight saving time), divided by 2."
.
See: https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assemblyversionattribute?redirectedfrom=MSDN&view=netframework-4.8#remarks
.
See also: dotnet/roslyn#39354

--- a/KeePassRPC/Properties/AssemblyInfo.cs
+++ b/KeePassRPC/Properties/AssemblyInfo.cs
@@ -18,5 +18,5 @@
 [assembly: Guid("89631AAE-8DE6-4593-8DAB-AB28490A490A")]
 
 // Assembly version information
-[assembly: AssemblyVersion("2.0.48.*")]
+[assembly: AssemblyVersion("2.0.48.0")]
 [assembly: AssemblyFileVersion("1.16.0.0")] // also change PluginVersion in KeePassRPCExt.cs!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions