Increment version number in file [closed]

佐手、 提交于 2020-03-23 07:47:12

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!