mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-02-08 02:37:04 +00:00
feat: add updater for package.json
This commit is contained in:
parent
942aa80aa9
commit
ecbd148e7a
14 changed files with 174 additions and 44 deletions
|
|
@ -5,7 +5,7 @@ type ReleaseInfo struct {
|
|||
ChangelogEntry string
|
||||
}
|
||||
|
||||
type Updater func(string) (string, error)
|
||||
type Updater func(content string, filename string) (string, error)
|
||||
|
||||
type NewUpdater func(ReleaseInfo) Updater
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue