Skip to content

Commit

Permalink
chore(deps): upgrading hugo (v0.80.0) fixes #3653 (#3714)
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley <[email protected]>
  • Loading branch information
BradErz authored Jan 12, 2021
1 parent baaeb02 commit 94135b3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .bingo/Variables.mk
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ $(GOLANGCI_LINT): .bingo/golangci-lint.mod
@echo "(re)installing $(GOBIN)/golangci-lint-v1.29.0"
@cd .bingo && $(GO) build -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.29.0 "github.com/golangci/golangci-lint/cmd/golangci-lint"

HUGO := $(GOBIN)/hugo-v0.74.3
HUGO := $(GOBIN)/hugo-v0.80.0
$(HUGO): .bingo/hugo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/hugo-v0.74.3"
@cd .bingo && $(GO) build -modfile=hugo.mod -o=$(GOBIN)/hugo-v0.74.3 "github.com/gohugoio/hugo"
@echo "(re)installing $(GOBIN)/hugo-v0.80.0"
@cd .bingo && $(GO) build -modfile=hugo.mod -o=$(GOBIN)/hugo-v0.80.0 "github.com/gohugoio/hugo"

JB := $(GOBIN)/jb-v0.4.0
$(JB): .bingo/jb.mod
Expand Down
24 changes: 23 additions & 1 deletion .bingo/hugo.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,29 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.14

require (
contrib.go.opencensus.io/exporter/ocagent v0.4.12 // indirect
github.com/Azure/azure-amqp-common-go v1.1.4 // indirect
github.com/Azure/go-autorest v11.1.2+incompatible // indirect
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6 // indirect
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect
github.com/coreos/go-etcd v2.0.0+incompatible // indirect
github.com/cpuguy83/go-md2man v1.0.10 // indirect
github.com/gobuffalo/envy v1.9.0 // indirect
// v0.74.3 This needs to match with version in netlify.toml
github.com/gohugoio/hugo v0.74.3
github.com/gohugoio/hugo v0.80.0
github.com/golang/snappy v0.0.1 // indirect
github.com/kyokomi/emoji v2.2.1+incompatible // indirect
github.com/nicksnyder/go-i18n v1.10.0 // indirect
github.com/opentracing/opentracing-go v1.0.2 // indirect
github.com/tidwall/pretty v0.0.0-20190325153808-1166b9ac2b65 // indirect
github.com/uber-go/atomic v1.3.2 // indirect
github.com/uber/jaeger-client-go v2.15.0+incompatible // indirect
github.com/uber/jaeger-lib v1.5.0 // indirect
github.com/ugorji/go v1.1.4 // indirect
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 // indirect
github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c // indirect
github.com/xdg/stringprep v1.0.0 // indirect
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77 // indirect
go.mongodb.org/mongo-driver v1.0.1 // indirect
pack.ag/amqp v0.11.0 // indirect
)
2 changes: 1 addition & 1 deletion .bingo/variables.env
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ GOJSONTOYAML="${gobin}/gojsontoyaml-v0.0.0-20191212081931-bf2969bbd742"

GOLANGCI_LINT="${gobin}/golangci-lint-v1.29.0"

HUGO="${gobin}/hugo-v0.74.3"
HUGO="${gobin}/hugo-v0.80.0"

JB="${gobin}/jb-v0.4.0"

Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = "website/public"

# Our Makefile builds Hugo, but it's faster if Netlify grabs the correct version on their own
# via a simple cURL.
environment = { HUGO_VERSION="0.74.3" }
environment = { HUGO_VERSION="0.80.0" }

# NOTE: the sleep at the end is to make sure logs are not truncated on error.
command = "(env && make web HUGO=$(which hugo)) || (sleep 30; false)"
Expand Down

0 comments on commit 94135b3

Please sign in to comment.