mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-02-10 19:57:03 +00:00
refactor: move git to package
This commit is contained in:
parent
44184a77f9
commit
5765b48703
10 changed files with 114 additions and 102 deletions
|
|
@ -12,6 +12,7 @@ import (
|
|||
"github.com/yuin/goldmark/ast"
|
||||
"github.com/yuin/goldmark/text"
|
||||
|
||||
"github.com/apricote/releaser-pleaser/internal/git"
|
||||
"github.com/apricote/releaser-pleaser/internal/markdown"
|
||||
east "github.com/apricote/releaser-pleaser/internal/markdown/extensions/ast"
|
||||
)
|
||||
|
|
@ -41,7 +42,7 @@ type ReleasePullRequest struct {
|
|||
Labels []Label
|
||||
|
||||
Head string
|
||||
ReleaseCommit *Commit
|
||||
ReleaseCommit *git.Commit
|
||||
}
|
||||
|
||||
func NewReleasePullRequest(head, branch, version, changelogEntry string) (*ReleasePullRequest, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue