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 2017-09-25 13:51:00 +02:00 committed by Bjørn Erik Pedersen
parent 404e2994e5
commit a3a3f5b861

View file

@ -22,6 +22,7 @@ parts:
- git
- make
stage-packages:
- git
- python-pygments
prepare: |
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go