Create a semantic-release plugin for managing truncated tags via the GitLab API.
Based a discussion on how to reduce renovate toil
Extend semantic-release, so that it can use the GitLab API to delete and (and possibly recreate) truncated tags. Protected tags can only be deleted via the API (or UI), but not through Git (source). This would allow us to run goreleaser on a protected branch, even for truncated versions.
To do:
-
Write a prototype: https://gitlab.com/fforster/semantic-release-gitlab-truncated-tag -
Create permanent repo in gl-infra
-
Migrate code to the new repo -
Publish an NPM package of the plugin -
Update the autolabels repository to use the new plugin -
Add "autolabels" to the list of tools publishing truncated versions -
Once we're confident: update the semantic-release config in common-template-copier
Edited by Florian Forster