Comments (2)
I'd think that would require first being able to use this to specify which version to update (VersionPrefix vs Version) and then also be able to tell it to increment so I don't have to know exactly what the prefix version is., just tell it to incremement minor or something.
So I think this can be split into two feature requests:
- Support setting
<VersionPrefix>
instead of<Version>
in *.csproj files - Support incrementing version numbers via the tool
I think the first one of these could be a good fit and worth adding. The second one I'm not sure about because this tool aims to avoid doing version calculations itself and really just takes a version string that's provided to it and writes it to one or more csproj files. For my own use, I typically use GitVersion for the sort of "heavy lifting" aspect to calculate the version string and then use this tool to write that to the csproj files.
In your case, I would try to use a separate tool (or script) to calculate the minor-bumped version prefix (3.1.0.1 -> 3.2.0.1) and then update the csproj file using something like maybe setversion --prefix 3.2.0.1
. Does that work?
from dotnet-setversion.
I'm going to close this as there's not been any response.
from dotnet-setversion.
Related Issues (20)
- CI build hangs indefinitely HOT 4
- Error on Build HOT 2
- Support for .NET Core 3.1 HOT 2
- No problems here, just thanks
- trim trailing newline HOT 2
- AssemblyVersion and FileVersion are not updated. HOT 3
- Support for .NET 5.0
- Support for .NET 6.0 HOT 2
- Working with older project formats HOT 2
- Error when running HOT 4
- Support for .NET 7.0 HOT 3
- Support for .NET 8 HOT 5
- Doesn't work for dotnetcore 2.0 HOT 4
- Drop support for .NET Core 2.1, .NET Core 3.1, and .NET 5 HOT 1
- Latest dotnet2.0-sdk container doesn't work with setversion HOT 4
- Add support for the VSTS dotnet build task HOT 23
- TeamCity integration? HOT 3
- Does not handle multiple <PropertyGroup> tags HOT 1
- Unexpected behaviour in a directory with multiple csproj files HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnet-setversion.