Gitlab plugin for atlassian/changesets. Add information about merge request and issues reference to your CHANGELOG.md
yarn add --dev changelog-gitlab
Create .env
file in project root with:
GITLAB_PERSONAL_TOKEN=GITLAB_PERSONAL_TOKEN
GITLAB_PROJECT_ID=GITLAB_PROJECT_ID
GITLAB_HOST=https://gitlab.com
where GITLAB_PERSONAL_TOKEN
is your personal access token and GITLAB_PROJECT_ID
is your project id.
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.
- Changeset config file options
- Github plugin for changesets
- What warrants a changelog entry?
- Writing good changelog entries
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.