Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rvegajr/version-update
.net tool to update version tags in csproj files recursively
https://github.com/rvegajr/version-update
Last synced: 25 days ago
JSON representation
.net tool to update version tags in csproj files recursively
- Host: GitHub
- URL: https://github.com/rvegajr/version-update
- Owner: rvegajr
- License: mit
- Created: 2021-09-26T02:59:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T20:16:05.000Z (about 1 year ago)
- Last Synced: 2023-11-01T21:25:44.882Z (about 1 year ago)
- Language: C#
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EZ Version Update
A simple dotnet tool to update previously existing version numbers.
## Description
This application will default to the path it is running from. It will enumerate across all non hidden paths for each file mask passed through the -m parameter (currently *.csproj).
It will then extract the version number, and if there are no command line parameters, it will increment the REVISION number.
The version number format is MAJOR.MINOR.REVISION.BUILD [0.1.2.3]Note that the projects nust have the one of the following tags for it to change it already in the file.
15.1.36
15.1.36
15.1.36## Getting Started
### Dependencies
* .net 5.0
### Executing program
* Install by typing in the following in the command line in the directory that has itself or a subdirectory of the projects you wish to change
```
dotnet tool install -g EzVersionUpdate
```
* After installing, you can have it increment the REVISION number by one each time you type the following and press enter
```
ezver
```
* To set a specific version number, use the following
```
ezver -v 1.0.1
```
* To increment the MAJOR Release by 1
```
ezver -i 0
```
* To increment the MINOR Release by 1
```
ezver -i 1
```
* To increment the BUILD Release by 1
```
ezver -i 3
```
* To see what will be change as a test
```
ezver -t
```## Authors
Ricky Vega [@rvegajr](https://github.com/rvegajr/)
## License
This project is licensed under the MIT License - see the LICENSE.md file for details
## Acknowledgments
Thank you!
* [commandlineparser](https://github.com/commandlineparser/commandline)