feat(github): mark pre-releases correctly

In theory every forge can support this, but right now only GitHub allows
one to define a release as "pre-release".

Closes #45
This commit is contained in:
Julian Tölle 2024-11-15 18:30:02 +01:00
parent ef1d92cff0
commit c827d3246d
4 changed files with 50 additions and 2 deletions

View file

@ -8,6 +8,7 @@ import (
type Strategy interface {
NextVersion(git.Releases, VersionBump, NextVersionType) (string, error)
IsPrerelease(version string) bool
}
type VersionBump conventionalcommits.VersionBump