snap: Revert build-snap to 1.11/stable channel for go
authorAnthony Fok <foka@debian.org>
Fri, 21 Dec 2018 04:46:47 +0000 (21:46 -0700)
committerAnthony Fok <foka@debian.org>
Fri, 21 Dec 2018 04:46:47 +0000 (21:46 -0700)
This is to fix the following snap build error:

    Failed to install or refresh a snap: 'go' does not exist
    or is not available on the desired channel '1.11.4/stable'.
    Use `snap info go` to get a list of channels the snap is available on.

`snap info go` reveals that the '1.11/stable' channel automatically
follows the latest minor point release as it becomes available.

snap/snapcraft.yaml

index 954a6bfa4e8d1a41edb40caaa41d8d1a193e53ba..31037d7d10343f369af8b4bd4c383f4eed0d39cf 100644 (file)
@@ -26,7 +26,7 @@ parts:
 
   hugo:
     plugin: nil
-    build-snaps: [go/1.11.4/stable]
+    build-snaps: [go/1.11/stable]
     source: .
     override-build: |
       set -ex