Giter Site home page Giter Site logo

Comments (7)

nebularg avatar nebularg commented on June 18, 2024

Are you using annotated tags?

from packager.

KyrosKrane avatar KyrosKrane commented on June 18, 2024

Are you using annotated tags?

I'm not sure what that is. When I create a new tag, I do put the same value in the tag name and tag message, if that's what you mean. Example:
image

from packager.

KyrosKrane avatar KyrosKrane commented on June 18, 2024

I just looked up the details. It's indeed an annotated tag, as I put a message and sign the tag. Confirmed on the git command line as well.

from packager.

nebularg avatar nebularg commented on June 18, 2024

Yea, I really have no idea why it didn't use the release tag. It should have, the log shows that it was there. The docs say it should have been used.

I can't reproduce it, so I'm going to just blame github since the packager did what it was suppose to with the output it got from git.

from packager.

Nevcairiel avatar Nevcairiel commented on June 18, 2024

I assume this is from having two tags on the same commit, and git describe to generate the version was still using the original alpha tag, because why would it have any preference to take one over the other if both are at the same point in history?

Which one it chooses might just be random, and you got lucky in the past.

from packager.

nebularg avatar nebularg commented on June 18, 2024

nah, it looks at date if there are multiple matches. that's why i asked about annotated tags, lw tags don't have their own object with a date, so git will just (randomly) use whatever is in ref list first

For each commit-ish supplied, git describe will first look for a tag which tags exactly that commit. Annotated tags will always be preferred over lightweight tags, and tags with newer dates will always be preferred over tags with older dates.

from packager.

nebularg avatar nebularg commented on June 18, 2024

Hopefully fixed with a8acbfa

from packager.

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.