]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
releaser: Add standard withdeploy release assets
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 31 Mar 2026 16:06:04 +0000 (18:06 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 1 Apr 2026 09:01:53 +0000 (11:01 +0200)
Closes #14687

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hugoreleaser.yaml

index 6cbf0f212dc2860d81b17b7435bfaff970d41c24..1ad00dbf1b9dc5818acf5c50705a7dccbf09aa39 100644 (file)
@@ -39,6 +39,7 @@ definitions:
     - CC=o64-clang
     - CXX=o64-clang++
   name_template_extended_withdeploy: &name_template_extended_withdeploy "{{ .Project }}_extended_withdeploy_{{ .Tag | trimPrefix `v` }}_{{ .Goos }}-{{ .Goarch }}"
+  name_template_withdeploy: &name_template_withdeploy "{{ .Project }}_withdeploy_{{ .Tag | trimPrefix `v` }}_{{ .Goos }}-{{ .Goarch }}"
   name_template_extended: &name_template_extended "{{ .Project }}_extended_{{ .Tag | trimPrefix `v` }}_{{ .Goos }}-{{ .Goarch }}"
   archive_deb: &archive_deb
     binary_dir: /usr/local/bin
@@ -164,6 +165,18 @@ builds:
       - goos: linux
         archs:
           - goarch: amd64
+  - path: container1/unix/withdeploy
+    build_settings:
+      flags:
+        - -buildmode
+        - exe
+        - -tags
+        - withdeploy
+    os:
+      - goos: linux
+        archs:
+          - goarch: amd64
+          - goarch: arm64
   - path: container2/linux/extended
     build_settings:
       flags:
@@ -219,6 +232,17 @@ builds:
       - goos: darwin
         archs:
           - goarch: universal
+  - path: container1/macos/withdeploy
+    build_settings:
+      flags:
+        - -buildmode
+        - exe
+        - -tags
+        - withdeploy
+    os:
+      - goos: darwin
+        archs:
+          - goarch: universal
   - path: container1/windows/regular
     os:
       - goos: windows
@@ -257,6 +281,19 @@ builds:
           binary: hugo.exe
         archs:
           - goarch: amd64
+  - path: container1/windows/withdeploy
+    build_settings:
+      flags:
+        - -buildmode
+        - exe
+        - -tags
+        - withdeploy
+    os:
+      - goos: windows
+        build_settings:
+          binary: hugo.exe
+        archs:
+          - goarch: amd64
 archives:
   - paths:
       - builds/container1/unix/regular/**
@@ -268,6 +305,10 @@ archives:
       - builds/container1/unix/extended-withdeploy/**
     archive_settings:
       name_template: *name_template_extended_withdeploy
+  - paths:
+      - builds/container1/unix/withdeploy/**
+    archive_settings:
+      name_template: *name_template_withdeploy
   - paths:
       - builds/container2/*/extended/**
     archive_settings:
@@ -289,6 +330,11 @@ archives:
     archive_settings:
       name_template: *name_template_extended_withdeploy
       <<: *archive_type_macos
+  - paths:
+      - builds/**/macos/withdeploy/**
+    archive_settings:
+      name_template: *name_template_withdeploy
+      <<: *archive_type_macos
   - paths:
       - builds/**/windows/regular/**
     archive_settings: *archive_type_zip
@@ -302,6 +348,11 @@ archives:
     archive_settings:
       name_template: *name_template_extended_withdeploy
       <<: *archive_type_zip
+  - paths:
+      - builds/**/windows/withdeploy/**
+    archive_settings:
+      name_template: *name_template_withdeploy
+      <<: *archive_type_zip
   - paths:
       - builds/**/regular/linux/{arm64,amd64}
     archive_settings: *archive_deb
@@ -315,6 +366,11 @@ archives:
     archive_settings:
       name_template: *name_template_extended_withdeploy
       <<: *archive_deb
+  - paths:
+      - builds/**/withdeploy/linux/{arm64,amd64}
+    archive_settings:
+      name_template: *name_template_withdeploy
+      <<: *archive_deb
 releases:
   - paths:
       - archives/**