GithubHelp home page GithubHelp logo

Comments (2)

TAGC avatar TAGC commented on July 3, 2024

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.

TAGC avatar TAGC commented on July 3, 2024

I'm going to close this as there's not been any response.

from dotnet-setversion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.