Comments (4)
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.
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.
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.
OK, I finally understand.
from nagome.
Related Issues (4)
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 nagome.