diff options
author | Anthony Fok <[email protected]> | 2018-09-25 07:21:09 -0600 |
---|---|---|
committer | Anthony Fok <[email protected]> | 2018-09-25 07:21:09 -0600 |
commit | 048a64be1cfc2c73b6fb14bad2d6ae5558283652 (patch) | |
tree | 85232323cb6d2f959748df347f42bbb5a4afc375 /releaser | |
parent | 3033a9a37eb66c08e60f9fe977f29d22bd646857 (diff) | |
download | hugo-048a64be1cfc2c73b6fb14bad2d6ae5558283652.tar.gz hugo-048a64be1cfc2c73b6fb14bad2d6ae5558283652.zip |
releaser: Update path to snap/snapcraft.yaml
Diffstat (limited to 'releaser')
-rw-r--r-- | releaser/releaser.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |