releaser: Update path to snap/snapcraft.yaml

This commit is contained in:
Anthony Fok 2018-09-25 07:21:09 -06:00
parent 3033a9a37e
commit 048a64be1c
No known key found for this signature in database
GPG key ID: EA2500B412C59ACF

View file

@ -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