Git Product home page Git Product logo

Comments (9)

andreasohlund avatar andreasohlund commented on August 23, 2024

Pretty this is a duplicate of this one? (or at least related)

#79

from gitversion.

nulltoken avatar nulltoken commented on August 23, 2024

@danielmarbach I'll take a look at it

from gitversion.

nulltoken avatar nulltoken commented on August 23, 2024

Here the flow which should work but doesn't

@danielmarbach Can you elaborate on what you'd expect to be produced?

FWIW, the PreReleasePartTwo holds the number of commits that are not known by the develop branch. Once the release branch is merged back in develop, this number of commits is indeed zero.

from gitversion.

danielmarbach avatar danielmarbach commented on August 23, 2024

In my scenario and according to GF it is perfectly valid to do changes on the release branch and merge does changes back into develop. To be honest I see the need for you guys that at some point you know the release branch is merged and therefore the commit count is reseted. So I have no idea how to solve that properly. I mean I can live with cherry picking approach... What's your thought on this?

from gitversion.

nulltoken avatar nulltoken commented on August 23, 2024

I'm not sure to understand what prevents one to merge the release branch back into develop? I may be missing something obvious (sorry for that).

from gitversion.

danielmarbach avatar danielmarbach commented on August 23, 2024

You can only do that once. If done the commit counter on the release branch is zeroed.

from gitversion.

nulltoken avatar nulltoken commented on August 23, 2024

@danielmarbach Well, I'm pretty sure if you add a commit to that branch, the commit counter will spring back to one (ie. a new commit on that branch that develop doesn't know about.)

release    B-C-D---------F
          /     \
develop -A-------E

In the graph above, release has been merged back into develop with E. Building release when pointing at F should issue a commit number of 1.

from gitversion.

danielmarbach avatar danielmarbach commented on August 23, 2024

Yeah but in this case you are practically regenerating previous SemVers!

From: nulltoken [mailto:[email protected]]
Sent: Samstag, 22. Februar 2014 23:14
To: Particular/GitFlowVersion
Cc: danielmarbach
Subject: Re: [GitFlowVersion] Gitflow allows merging bugfixes from release to develop. GitFlowVersion doesn't (#86)

@danielmarbach https://github.com/danielmarbach Well, I'm pretty sure if you add a commit to that branch, the commit counter will spring back to one (ie. a new commit on that branch that develop doesn't know about.)

release B-C-D---------F
/
develop -A-------E

In the graph above, release has been merged back into develop with E. Building release when pointing at F should issue a commit number of 1.


Reply to this email directly or view it on GitHub #86 (comment) . https://github.com/notifications/beacon/174258__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwODY0MDAzOSwiZGF0YSI6eyJpZCI6MjYwOTQ4Njh9fQ==--a78e11530f2df7088903257004cb6b5dd8d4fd27.gif

from gitversion.

JakeGinnivan avatar JakeGinnivan commented on August 23, 2024

Pretty sure this is now fixed

from gitversion.

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.