Getting started
- Start formatting commit messages so that
go-semrel-gitlabunderstands them- first line of form:
type(scope): subject - breaking change marked with:
BREAKING CHANGE:
- first line of form:
- Give
go-semrel-gitlabpermission 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-gitlabin 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.