GithubHelp home page GithubHelp logo

Do not require message about versiontag HOT 6 CLOSED

pkristian avatar pkristian commented on June 14, 2024
Do not require message

from versiontag.

Comments (6)

franiglesias avatar franiglesias commented on June 14, 2024

I'll look into it. I've had problems trying to tag without message (the script failed).

from versiontag.

pkristian avatar pkristian commented on June 14, 2024

the problem is, that you after major|minor|patch you expect message.
since this package is new, i will suggest BC break: versiontag major -m|--message "message"
same like in git commit

from versiontag.

franiglesias avatar franiglesias commented on June 14, 2024

The problem happened when the script tried to execute git tag without message. It failed when opening editor to add message. I've not looked yet how to tag with no message, so I force a message to be passed. I'm agree with the BC break. I'll take a look this night :-).

from versiontag.

pkristian avatar pkristian commented on June 14, 2024

i looked in docu: https://git-scm.com/docs/git-tag

it looks like it is problem with git tag -a which looks like require message
but unannotated tags are ignored by git describle, so what about to change to git tag --list for getting last tag?

from versiontag.

franiglesias avatar franiglesias commented on June 14, 2024

I'm looking into that, but see issue #4 to discuss about the source of truth about versioning. Having the .semver file, I'm considering to use it instead of git tags (or have some kind of check to verify them. Not sure about that). This also resolve the unannotated tags issue.

By the other hand, git tag --list has the problem that could be difficult to know which is the last tag.

from versiontag.

franiglesias avatar franiglesias commented on June 14, 2024

I want to merge some fixes before implement this.

from versiontag.

Related Issues (12)

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.