ploeh / ZeroToNine

A tool for maintaining .NET Assembly versions across multiple files.
MIT License
147 stars 16 forks source link

Assign operation #16

Closed ploeh closed 10 years ago

ploeh commented 10 years ago

ZeroToNine should have an assign operation that uniformly assigns a particular Version to all AssemblyInfo files.

It should work like the increment operation, although instead of using the existing version as origin, it should unconditionally assign a given version.

Example:

Zero29 -a 1.0.0.0

This example assigns the version 1.0.0.0 to all AssemblyInfo files found beneath the current working directory, no matter what their original version was.

This command is useful for intializing a project to a particular version when it's just created, or to assign an appropriate version number to a new project added to an established code base.