From 79932e72257efe2ea525d546b32b3ecd3988605b Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Mon, 29 Aug 2022 11:47:37 +0200 Subject: release: Fix the Deb archives Fixes #10220 --- hugoreleaser.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'hugoreleaser.toml') diff --git a/hugoreleaser.toml b/hugoreleaser.toml index e9bf8b6f1..beffa0e71 100644 --- a/hugoreleaser.toml +++ b/hugoreleaser.toml @@ -33,7 +33,7 @@ project = "hugo" dragonfly = "DragonFlyBSD" [release_settings] - name = "${HUGO_RELEASE_NAME}" + name = "${HUGORELEASER_TAG}" type = "github" repository = "hugo" repository_owner = "gohugoio" @@ -190,6 +190,8 @@ project = "hugo" [[archives]] paths = ["builds/**/regular/linux/{arm64,amd64}"] [archives.archive_settings] + binary_dir = "/usr/local/bin" + extra_files = [] [archives.archive_settings.type] format = "_plugin" extension = ".deb" @@ -206,6 +208,8 @@ project = "hugo" [[archives]] paths = ["builds/**/extended/linux/{arm64,amd64}"] [archives.archive_settings] + binary_dir = "/usr/local/bin" + extra_files = [] name_template = "{{ .Project }}_extended_{{ .Tag | trimPrefix `v` }}_{{ .Goos }}-{{ .Goarch }}" [archives.archive_settings.type] format = "_plugin" -- cgit v1.2.3