Class ReleaseRange

java.lang.Object
io.github.jbastgen.stemma.app.git.ReleaseRange

public final class ReleaseRange extends Object
The commits of a release: from the commit of a tag back to the previous tagged version (the nearest tag in its history), for the changelog of that release. The commits of the previous tag itself and everything before it are not part of it.
  • Method Details

    • forTag

      public static Optional<ReleaseRange.Range> forTag(List<Commit> history, String tag)
      Parameters:
      history - all known commits, newest first
      Returns:
      empty when no commit of the history carries the tag