projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
404e299
)
snap: Add git to snap package for GitInfo
author
Guy Halse
<guy@tenet.ac.za>
Mon, 25 Sep 2017 11:51:00 +0000
(13:51 +0200)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Mon, 25 Sep 2017 12:24:51 +0000
(14:24 +0200)
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
snapcraft.yaml
patch
|
blob
|
history
diff --git
a/snapcraft.yaml
b/snapcraft.yaml
index 6528dc428cae3959a50f5bd089e18deebb03a627..56f10ad3a15848feaa67e3fccc2504950a6128fa 100644
(file)
--- a/
snapcraft.yaml
+++ b/
snapcraft.yaml
@@
-22,6
+22,7
@@
parts:
- git
- make
stage-packages:
+ - git
- python-pygments
prepare: |
export GOPATH=$(dirname $SNAPCRAFT_PART_INSTALL)/go