Options
All
  • Public
  • Public/Protected
  • All
Menu

Representing an API for handling git flow SemVer.

Hierarchy

  • GitFlowSemVers

Index

Constructors

Methods

  • calculateBranchVersion(type: GitFlowBranchType, version?: string): Promise<undefined | string>
  • Calculates the version of the branch created from the current branch.

    Parameters

    • type: GitFlowBranchType

      Type of the branch should be created.

    • Optional version: string

      A optional custom version to be used.

    Returns Promise<undefined | string>

    The calculated branch version.

  • Calculates the next prerelease version tag for a given prerelease type.

    Parameters

    Returns Promise<undefined | string>

    The next prerelease version for a given type.