VersionManager class abstract

Interface for managing git-tag-based build versioning.

Uses builds/<number> tags to track and increment build numbers.

Implementers

Constructors

VersionManager()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeNextBuildNumber(int seedBuildNumber) → Future<int>
Returns the next build number: latest tag + 1, or seedBuildNumber if no tags exist.
fetchLatestBuildNumber() → Future<int?>
Fetches the highest existing builds/* tag from the remote, or null if none exist.
interactiveBumpAndPush(int seedBuildNumber) → Future<void>
Prompts the user interactively to choose a new base build number and pushes the tag.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pushNewBuildTag(int buildNumber) → Future<void>
Creates and force-pushes a builds/<number> tag to origin.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance ↔ VersionManager
Default singleton instance.
getter/setter pair