feat(github): mark pre-releases correctly (#110)

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:49:50 +01:00 committed by GitHub
parent ef1d92cff0
commit dd166ec446
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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