mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
releaser: Update path to snap/snapcraft.yaml
This commit is contained in:
parent
3033a9a37e
commit
048a64be1c
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ func (r *ReleaseHandler) bumpVersions(ver helpers.HugoVersion) error {
|
|||
if ver.Suffix != "" {
|
||||
snapcraftGrade = "devel"
|
||||
}
|
||||
if err := r.replaceInFile("snapcraft.yaml",
|
||||
if err := r.replaceInFile("snap/snapcraft.yaml",
|
||||
`version: "(.*)"`, fmt.Sprintf(`version: "%s"`, ver),
|
||||
`grade: (.*) #`, fmt.Sprintf(`grade: %s #`, snapcraftGrade)); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue