mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
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:
committed by
Bjørn Erik Pedersen
parent
404e2994e5
commit
a3a3f5b861
@@ -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
|
||||||
|
Reference in New Issue
Block a user