Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 477 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 477 Bytes

Kritikos.Extensions.Version

A library that provides a simple way to get the semantic version of the current assembly.

// Simple usage
SemanticVersion.FromAsembly(typeof(Startup).Assembly);

// DI Injection
var services = new ServiceCollection();
services.AddSemanticVersionExposing(typeof(Startup).Assembly);

Versioning is expected to be exposed in the InformationalVersion attribute, and can be of any of the following formats:

  • Simple version: 1.0.0