问题
I need to bump a version number in a file. The file looks like this:
nuget {
nuspec{
id = XXX;
version: 0.0.30;
title: XXX;
what is the easiest way to bump that version number in batch or powershell? i also have to checkout and checkin the file in tfs, but i think i'm able to do this.
For my understanding, reading the actual version number, writing to a variable, edit and write back to the file should do it. I'm not a developer so my knowhow is very limited and i need advice how to do this...
Thanks for all your ideas!
来源:https://stackoverflow.com/questions/60649950/increment-version-number-in-file