snap: Add git to snap package for GitInfo

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
This commit is contained in:
Guy Halse authored and Bjørn Erik Pedersen committed 2017-09-25 14:24:51 +02:00
1 parent 404e2994e5
commit a3a3f5b861
1 file changed
+1
+1
View File
@@ -22,6 +22,7 @@ parts:
- git - git
- make - make
stage-packages: stage-packages:
- git
- python-pygments - python-pygments
prepare: | prepare: |
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go