Skip to content

Commit

Permalink
hugo - add withdeploy tag
Browse files Browse the repository at this point in the history
Hugo no longer ships with deploy funcationality by default.
Updates build tags to "extended,withdeploy".
See gohugoio/hugo#12995 for why this is needed.
  • Loading branch information
andrlik committed Nov 5, 2024
1 parent 3e253bf commit 026ecb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/h/hugo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def install
-X github.com/gohugoio/hugo/common/hugo.buildDate=#{time.iso8601}
-X github.com/gohugoio/hugo/common/hugo.vendorInfo=brew
]
system "go", "build", *std_go_args(ldflags:), "-tags", "extended"
system "go", "build", *std_go_args(ldflags:), "-tags", "extended,withdeploy"

generate_completions_from_executable(bin/"hugo", "completion")
system bin/"hugo", "gen", "man", "--dir", man1
Expand Down

0 comments on commit 026ecb8

Please sign in to comment.