Skip to content

Commit

Permalink
Use SemVer for VpaxObfuscator.Version property
Browse files Browse the repository at this point in the history
  • Loading branch information
albertospelta committed Mar 18, 2024
1 parent 3bf3834 commit d1f11ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dax.Vpax.Obfuscator/VpaxObfuscator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Dax.Vpax.Obfuscator;

public sealed class VpaxObfuscator : IVpaxObfuscator
{
public static string Version { get; } = ThisAssembly.AssemblyInformationalVersion;
public static string Version { get; } = System.Version.Parse(ThisAssembly.AssemblyFileVersion).ToString(3);
public ObfuscationOptions Options { get; } = new();

public ObfuscationDictionary Obfuscate(Stream stream, ObfuscationDictionary? dictionary = null) => ObfuscateImpl(Options, stream, dictionary);
Expand Down

0 comments on commit d1f11ac

Please sign in to comment.