Skip to content

twalther/VersionTools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VersionTools

This project contains a console application that helps managing the versions of .Net projects. It uses a set of common conventions and semantic versioning.

Conventions

Root version

The root version is the default version that is used when no other version is defined for a project. The root version is set by either passing a valid semantic version as an argument using the -version option or by putting a version.txt file in the starting directory.

version.txt files

Versions are defined by putting a file named version.txt in a directory. In a recursive scan of a solution, versions are inherited by sub directories. E.g. if a version.txt file is put in the root directory of the

[src]
 |- version.txt
 |- [Project1]
    |- version.txt
 |- [Project2]

Getting help

To get a list of the available actions and options type

> aver help

Getting a list of versions in a solution

The list action lets you list the versions of the project in a directory or a directory structure.

> aver list c:\projects\myapp -recurse

Lists the resolved versions of the projects found in a recursive search in the c:\projects\myapp directory.

Getting a list of .Net assembly versions

You can also list the versions of assemblies in a directory or directoy structure.

> aver list c:\projects\myapp -assembly

Lists the versions of assemblies in the c:\projects\myapp directory.

About

A few tools to handle .Net assembly versions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%