Coder Social home page Coder Social logo

Comments (4)

jamiebuilds avatar jamiebuilds commented on May 22, 2024

If you are in a separate branch for the older version I assume we can just change:

- git rev-list --tags --max-count=1           # get commit of last tag across branches
+ git rev-list -n 1 $(git describe --tags)    # get commit of last tag in current branch

[ref]

from lerna.

hzoo avatar hzoo commented on May 22, 2024

Would you ever want to do anything else such that you might want to specify the version manually? Probably not right?

What do you think about logging that info in the lerna updated/publish command as well? Basically something like Checking updated files since v6.8.1. I think this is important info to log

And based on your suggestion, we just check the current branch - if it's master do the regular command, and if it's not do the 2nd one?

from lerna.

Gongreg avatar Gongreg commented on May 22, 2024

Bump, We got into this issue, that if we do changes on different branches for different versions, we need to use newest tag in that branch, not in whole project. Could we try to do a pull request for this feature? Maybe add passing some kind of parameter for turning this option on?

Edit: Fixed typo (dumb -> bump, I seriously didn't mean to write that).

from lerna.

lock avatar lock commented on May 22, 2024

This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from lerna.

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.