0.0.1 • Published 2 years ago

@octorelease/git v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Git plugin

Octorelease plugin to perform actions on a Git repository.

Build Status npm latest version

StepDescription
initConfigure user name and email to be used for Git commits.
versionCommit changed files, tag the new version, and push these changes.

Install

$ npm install @octorelease/git -D

Usage

The plugin can be configured in the Octorelease configuration file:

{
  "plugins": [
    "@octorelease/git"
  ]
}

Configuration

Environment variables

VariableDescription
GIT_COMMITTER_NAMEUser name of the Git committer.
GIT_COMMITTER_EMAILEmail address of the Git committer.

Options

OptionsDescriptionDefault
commitMessageMessage for version commit. {{version}} is a placeholder for the version number."Bump version to {{version}}"
tagMessageMessage for annotated version tag. {{version}} is a placeholder for the version number."Release {{version}} to ${context.branch.channel}"