HamedMoghadasi / VersionUp.Core

.net version auto-incrementor

Home Page:https://www.nuget.org/packages/VersionUp.Core/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET Nuget

What is VersionUp.Core ?!

It is ready-to-go package for updating .Net core application's version automatically.

Which .Net version are supported ?!

versionUp.Core is compatible with .net +5.0, package version MUST BE compatible with your .net version:

  • if you are using dotnet 7, get VersionUp.Core 7.*.*
  • if you are using dotnet 6, get VersionUp.Core 6.*.*
  • if you are using dotnet 5, get VersionUp.Core 5.*.*

Installation

  1. Get proper version of VersionUp.Core package from Nuget.
  2. All it's Done :) Now If you build your application the version will update automatticlly.

How it works:

The valid schema for working with this module is as follows:

[Major].[Minor].[Date].[BuildNumber]

If your csproj file doesn't have <version> node when you build your application after installation, The VersionUp.Core will add a <version>1.0.0.0</version> to the csproj file. After that when you build project again, the [BuildNumber] increment by 1 and the [Date] will update too, [Date] is combination of year and DayOfYear. for exmaple 11 March 2022 is 70th day of the year, so:

<version>1.0.22070.1</version>

P.S. The VersionUp.Core never change Major and Minor value and If you want to change their value you must do it manually.

About

.net version auto-incrementor

https://www.nuget.org/packages/VersionUp.Core/


Languages

Language:C# 100.0%