@octorelease/git
v0.0.1
Published
Octorelease plugin to perform actions on a Git repository.
Downloads
3
Readme
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}"
|