Skip to content

Latest commit

聽

History

History
32 lines (18 loc) 路 790 Bytes

File metadata and controls

32 lines (18 loc) 路 790 Bytes

GitStrategy

An extension of Strategy to be used with Git.

This strategy enhances the run conditions and runs when
a branch name is defined as a release branch, and, the local & remote hash match.

Config

Type: object literal

Optional properties are denoted by *

releaseBranchNames*

Type: Set
Default: new Set([main, beta, alpha])

Specifies the branches where the strategy will run.

gitClient*

Type: GitClient
Default: GitExecClient

The default client uses the process current working directory and a git remote called origin

Strategy options are also applicable.


See githubNpmPackageStrategy for a reference implementation