Skip to content

Commit 53a9795

Browse files
authored
Merge pull request #249747 from Homebrew/bump-hugo-0.151.1
hugo 0.151.1
2 parents 1b05de5 + 0905dae commit 53a9795

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Formula/h/hugo.rb

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Hugo < Formula
22
desc "Configurable static site generator"
33
homepage "https://gohugo.io/"
4-
url "https://github.com/gohugoio/hugo/archive/refs/tags/v0.151.0.tar.gz"
5-
sha256 "b41d6e3da741c8d5637e016a1fa98f36e47dbfa9e213ff2d73ced66fb5b770ea"
4+
url "https://github.com/gohugoio/hugo/archive/refs/tags/v0.151.1.tar.gz"
5+
sha256 "7750d644c5ea762ba400001d753a9d37dc4f1467ca470f01cffff2b2a87c9232"
66
license "Apache-2.0"
77
head "https://github.com/gohugoio/hugo.git", branch: "master"
88

@@ -12,17 +12,20 @@ class Hugo < Formula
1212
end
1313

1414
bottle do
15-
sha256 cellar: :any_skip_relocation, arm64_tahoe: "e42aee24dff853810a3e863e9a1cfef28d01cc0573215e404045c77ce21f003d"
16-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "b7075bab8a29f3c9ed332e74acaaa18dc07a3d49b4ad88aceeda966df6001814"
17-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "2cb55eb93ea5efcd1d3cbdba012d2550fbfe8a19b8b967b370494f11a416f80e"
18-
sha256 cellar: :any_skip_relocation, sonoma: "68566e8cb2b5dc775a70732a4b6d9c8a88c41d06781c9ad3c4b20c4c2384bb1c"
19-
sha256 cellar: :any_skip_relocation, arm64_linux: "8f1cfa769f01223e5d46d5470d898ddd7df0c5a607e8bd2bbf6fe80d0849cea3"
20-
sha256 cellar: :any_skip_relocation, x86_64_linux: "e4f42340e486b765627f00ad104735cce763b424f98daf2eeec640955983bd5a"
15+
sha256 cellar: :any_skip_relocation, arm64_tahoe: "2cde038d603403adba49a54a232fb8687b25e90fcada5746465583d39527286b"
16+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "7068f41eeb23c6f6b53042a809136a86cf3b08fe397ff1c3c18a639337096b48"
17+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "d05a40fa03422de8264ed26eb694372239b74bdab79c4bd3c94ca3869cc91902"
18+
sha256 cellar: :any_skip_relocation, sonoma: "b5b9c5822d6f6953325bb193a79d782d928bed73046ba9a8e9e3c7d9580fb928"
19+
sha256 cellar: :any_skip_relocation, arm64_linux: "184943146e1aad23dc82ba25547c2259ee51e350a793ffe282fea90fefda4a0b"
20+
sha256 cellar: :any_skip_relocation, x86_64_linux: "7802a36236a93cfd992f03b8a716ac6d200bff09df21775b60d3dde4d46453b6"
2121
end
2222

2323
depends_on "go" => :build
2424

2525
def install
26+
# Needs CGO (which is disabled by default on Linux Arm)
27+
ENV["CGO_ENABLED"] = "1" if OS.linux? && Hardware::CPU.arm?
28+
2629
ldflags = %W[
2730
-s -w
2831
-X github.com/gohugoio/hugo/common/hugo.commitHash=#{tap.user}

0 commit comments

Comments
 (0)