mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-01 08:00:05 +03: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:
parent
404e2994e5
commit
a3a3f5b861
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue