mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00: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:
1 parent
404e2994e5
commit
a3a3f5b861
1 file changed
+1
@@ -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