aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugoreleaser.toml
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-08-29 11:47:37 +0200
committerBjørn Erik Pedersen <[email protected]>2022-08-29 14:56:15 +0200
commit79932e72257efe2ea525d546b32b3ecd3988605b (patch)
treede3516d3ded61c99a74fdc3b7e4cfe6a3591f9b6 /hugoreleaser.toml
parent9eb9b70a29ce84abc754e634e69511c4044e5570 (diff)
downloadhugo-79932e72257efe2ea525d546b32b3ecd3988605b.tar.gz
hugo-79932e72257efe2ea525d546b32b3ecd3988605b.zip
release: Fix the Deb archives
Fixes #10220
Diffstat (limited to 'hugoreleaser.toml')
-rw-r--r--hugoreleaser.toml6
1 files changed, 5 insertions, 1 deletions
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"