From 048a64be1cfc2c73b6fb14bad2d6ae5558283652 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Tue, 25 Sep 2018 07:21:09 -0600 Subject: [PATCH] releaser: Update path to snap/snapcraft.yaml --- releaser/releaser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releaser/releaser.go b/releaser/releaser.go index a41608ed7..7f7bc8db0 100644 --- a/releaser/releaser.go +++ b/releaser/releaser.go @@ -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