Getting started
- Start formatting commit messages so that
go-semrel-gitlab
understands them- first line of form:
type(scope): subject
- breaking change marked with:
BREAKING CHANGE:
- first line of form:
- Give
go-semrel-gitlab
permission to create tags and commit in your project- Create a personal access token with api scope
- Assign it to GL_TOKEN in your project ‘Settings → CI/CD → Variables’
- Use
go-semrel-gitlab
in Gitlab CI jobs, for example to- update changelog and make a release (update changelog, commit version bump, create tag, and attach download to tag description)
- determine the next version number, to be embedded into the executable in subsequent step of the pipeline.