Git Product home page Git Product logo

Comments (3)

postmodern avatar postmodern commented on August 22, 2024

I actually think the v might be necessary, in the case that someone uses date tags (ex: 4.20.2010). The v helps clarify it is in fact a version.

from semver.org.

mojombo avatar mojombo commented on August 22, 2024

I think the SemVerTag spec is important even if only to remind people that they should be tagging their releases. It is optional for a reason, and that is because many people have pre-existing noncompliant formats or don't like the vX.Y.Z format for some reason.

The format is arbitrary, but a prefixed 'v' is common practice already and virtually guarantees that all tags will show up together in a list and exclude ambiguous matches as @postmodern has noted.

from semver.org.

trans avatar trans commented on August 22, 2024

If one used date tags then it makes some sense (though one could distinguish . and - if really necessary). I've never heard of anyone using date tags before, and I don't see a reason to do so --can't you always look up a commit by date? But in any case, it's not a big deal, I have found release tags without the the v to work well, and to me a better choice. It would be nice if SemVerTag were open to it --perhaps a broader mandate to just have a consistent release tagging scheme containing the version. But as pointed out, SemVerTag is optional and non-essential to more fundamental concerns of SemVer. Thanks.

from semver.org.

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.