Repository: gohugoio/hugo (language: go)

Issue:
Update to Go 1.19

macOS and macOS extended binaries are identical
<!-- Please answer these questions before submitting your issue. Thanks! -->

### What version of Hugo are you using (`hugo version`)?

<pre>
0.89.0

</pre>

### Does this issue reproduce with the latest release?

Yes.

```bash
% md5 hugo_0.89.0_macOS-all.tar.gz && md5 hugo_extended_0.89.0_macOS-all.tar.gz
MD5 (hugo_0.89.0_macOS-all.tar.gz)          = bfbdb6fc069c33d165706b4de6102c38
MD5 (hugo_extended_0.89.0_macOS-all.tar.gz) = bfbdb6fc069c33d165706b4de6102c38

% md5 hugo_extended_0.89.0_macOS-all/hugo && md5 hugo_0.89.0_macOS-all/hugo
MD5 (hugo_extended_0.89.0_macOS-all/hugo) = 0b2fc6415db09a88793a3b42b7b524a0
MD5 (hugo_0.89.0_macOS-all/hugo)          = 0b2fc6415db09a88793a3b42b7b524a0
```


Discussion / hints:

Thanks for the report; I'm pretty sure I checked this when I tested out the fat binary thing, but ...
Thank you for reporting and checking. I ran into SCSS/SASS issue, but pretty sure to have installed extended. I noticed file sizes of binaries are equal (29.3MB). I will wait for an update. Thank youu!!
I have released 0.89.1 where I have reverted the "Goreleaser MacOS fat binary" update, which I assumes also fixes this issue, but I'll keep this issue open to track the comeback of that feature.

Fix patch:
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 544f820d33a..07008673bfb 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,6 +1,6 @@
 defaults: &defaults
   docker:
-      - image: bepsays/ci-goreleaser:1.1800.300
+      - image: bepsays/ci-goreleaser:1.21900.20000
   environment:
     CGO_ENABLED: "0"
 
diff --git a/goreleaser.yml b/goreleaser.yml
index 0d1389b6a03..d2cd273ce2c 100644
--- a/goreleaser.yml
+++ b/goreleaser.yml
@@ -103,7 +103,7 @@ release:
 archives:
   -
     id: "hugo"
-    builds: ['hugo', 'hugo_unix']
+    builds: ['hugo', 'hugo_unix', 'hugo_fat_darwin']
     format: tar.gz
     format_overrides:
       - goos: windows
@@ -126,7 +126,7 @@ archives:
       - LICENSE
   -
     id: "hugo_extended"
-    builds: ['hugo_extended_windows', 'hugo_extended_linux', 'hugo_extended_darwin']
+    builds: ['hugo_extended_windows', 'hugo_extended_linux', 'hugo_extended_fat_darwin']
     format: tar.gz
     format_overrides:
       - goos: windows
@@ -148,6 +148,23 @@ archives:
       - README.md
       - LICENSE
 
+universal_binaries:
+-
+  id: hugo_fat_darwin
+
+  ids:
+  - hugo
+
+  replace: true
+
+-
+  id: hugo_extended_fat_darwin
+
+  ids:
+  - hugo_extended_darwin
+
+  replace: true
+  
 nfpms:
   -
     id: "hugo"
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index a5070dc79de..2e547980b1f 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -53,7 +53,7 @@ parts:
 
   hugo:
     plugin: nil
-    build-snaps: [go/1.18/stable]
+    build-snaps: [go/1.19/stable]
     source: .
     override-build: |
       set -ex


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e1b78e1a51d..ee17654d7ba 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,7 +13,7 @@ jobs:
         # Go 1.18 had some breaking changes on the source level which means Hugo cannot be built
         # with older Go versions, but the improvements in Go 1.18 were too good to pass on (e.g. break and continue).
         # Note that you don't need Go (or Go 1.18) to run a pre-built binary.
-        go-version: [1.18.x]
+        go-version: [1.18.x,1.19.x]
         os: [ubuntu-latest, macos-latest, windows-latest]
     runs-on: ${{ matrix.os }}
     steps: