0.4.0 • Published 5 years ago
changelog-gitlab v0.4.0
changelog-gitlab
Gitlab plugin for atlassian/changesets. Add information about merge request and issues reference to your CHANGELOG.md
Installation
yarn add --dev changelog-gitlab
Usage
Gitlab configuration
Create .env file in project root with:
GITLAB_PERSONAL_TOKEN=GITLAB_PERSONAL_TOKEN
GITLAB_PROJECT_ID=GITLAB_PROJECT_ID
GITLAB_HOST=https://gitlab.comwhere GITLAB_PERSONAL_TOKEN is your personal access token and GITLAB_PROJECT_ID is your project id.
Changesets configuration
To change how the changelog is generated, you use the changelog setting in the ./changeset/config.json.
Change your .changeset/config.json to point to the new package:
"changelog": "changelog-gitlab"
More information about changelog configuration.
Useful link
- Changeset config file options
- Github plugin for changesets
- What warrants a changelog entry?
- Writing good changelog entries
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.