shithub: hugo

Download patch

ref: 048a64be1cfc2c73b6fb14bad2d6ae5558283652
parent: 3033a9a37eb66c08e60f9fe977f29d22bd646857
author: Anthony Fok <[email protected]>
date: Tue Sep 25 03:21:09 EDT 2018

releaser: Update path to snap/snapcraft.yaml

--- a/releaser/releaser.go
+++ b/releaser/releaser.go
@@ -278,7 +278,7 @@
 	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