0.0.1 • Published 2 years ago
@octorelease/git v0.0.1
Git plugin
Octorelease plugin to perform actions on a Git repository.
Step | Description |
---|---|
init | Configure user name and email to be used for Git commits. |
version | Commit 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
Variable | Description |
---|---|
GIT_COMMITTER_NAME | User name of the Git committer. |
GIT_COMMITTER_EMAIL | Email address of the Git committer. |
Options
Options | Description | Default |
---|---|---|
commitMessage | Message for version commit. {{version}} is a placeholder for the version number. | "Bump version to {{version}}" |
tagMessage | Message for annotated version tag. {{version}} is a placeholder for the version number. | "Release {{version}} to ${context.branch.channel}" |
0.0.1
2 years ago