aboutsummaryrefslogtreecommitdiffhomepage
path: root/releaser
diff options
context:
space:
mode:
authorAnthony Fok <[email protected]>2018-09-25 07:21:09 -0600
committerAnthony Fok <[email protected]>2018-09-25 07:21:09 -0600
commit048a64be1cfc2c73b6fb14bad2d6ae5558283652 (patch)
tree85232323cb6d2f959748df347f42bbb5a4afc375 /releaser
parent3033a9a37eb66c08e60f9fe977f29d22bd646857 (diff)
downloadhugo-048a64be1cfc2c73b6fb14bad2d6ae5558283652.tar.gz
hugo-048a64be1cfc2c73b6fb14bad2d6ae5558283652.zip
releaser: Update path to snap/snapcraft.yaml
Diffstat (limited to 'releaser')
-rw-r--r--releaser/releaser.go2
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