snap: Add git to snap package for GitInfo
authorGuy Halse <guy@tenet.ac.za>
Mon, 25 Sep 2017 11:51:00 +0000 (13:51 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 25 Sep 2017 12:24:51 +0000 (14:24 +0200)
Add git into the staged packages, so that the git binary is available
and hugo --enableGitInfo works for users of the snap package.

Fixes gohugoio/hugo#3896

snapcraft.yaml

index 6528dc428cae3959a50f5bd089e18deebb03a627..56f10ad3a15848feaa67e3fccc2504950a6128fa 100644 (file)
@@ -22,6 +22,7 @@ parts:
       - git
       - make
     stage-packages:
+      - git
       - python-pygments
     prepare: |
       export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go