snap: Fix empty BuildDate in "hugo version"
authorAnthony Fok <foka@debian.org>
Thu, 5 Apr 2018 13:14:51 +0000 (07:14 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 5 Apr 2018 13:51:11 +0000 (15:51 +0200)
commit294c0f8001fe598278c1eb8015deb6b98e8de686
tree89e6254e2bc7cbfe767741639adc2fe214396ef6
parenta4deaeff0cfd70abfbefa6d40c0b86839a216f6d
snap: Fix empty BuildDate in "hugo version"

Previously, "snap run hugo version" returns an empty BuildDate like so:

    Hugo Static Site Generator v0.38 linux/amd64 BuildDate:

Fix by overriding the default build target of snapcraft's go plugin.
snapcraft.yaml