Coder Social home page Coder Social logo

Comments (4)

diginatu avatar diginatu commented on July 22, 2024

Sorry, actually I know this issue.

The problem was that I created a lightweight tag for v0.0.5 which doesn't affect the version number in the result of command git describe.
I fixed it by just adding an --tags option in this commit aa12cc4.
So the Makefile you saw was the fixed version of the command.

I have to create one more new tag for updating this fix.

Anyway, thank you for your reporting.

from nagome.

y0za avatar y0za commented on July 22, 2024

The problem was that I created a lightweight tag for v0.0.5 which doesn't affect the version number in the result of command git describe.
I fixed it by just adding an --tags option in this commit aa12cc4.

Sounds good👍

However as mentioned above, git describe --tags result contains unnecessary information.
For example, the result should be v0.0.5, but actual result is v0.0.5-1-gaa12cc4.
I think that the correct result will be obtained by adding --abbrev=0 option.

from nagome.

diginatu avatar diginatu commented on July 22, 2024

I want a make it possible to identify the binary created from the code that isn't on any tag.
You can still get the result v0.0.5 from the command without --abbrev=0 when you are exactly on the tag.

$ git describe --tags
v0.0.5-1-gaa12cc4
$ git checkout v0.0.5
Note: checking out 'v0.0.5'.
HEAD is now at 292b02d... fix wasn't able to compile in windows
$ git describe --tags
v0.0.5

from nagome.

y0za avatar y0za commented on July 22, 2024

OK, I finally understand.

from nagome.

Related Issues (4)

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.