hugo-extended 0.102.3 → 0.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/utils.js +10 -10
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -57,8 +57,8 @@ export function doesBinExist(bin) {
57
57
  }
58
58
  }
59
59
 
60
- // Hugo Extended supports: macOS x64, macOS ARM64, Linux x64, Windows x64.
61
- // all other combos fall back to vanilla Hugo. There are surely much better ways
60
+ // Hugo Extended supports: macOS x64 / ARM64, Linux x64 / ARM64, Windows x64.
61
+ // All other combos fall back to vanilla Hugo. There are surely much better ways
62
62
  // to do this but this is easy to read/update. :)
63
63
  export function getReleaseFilename(version) {
64
64
  const { platform, arch } = process;
@@ -66,29 +66,29 @@ export function getReleaseFilename(version) {
66
66
  const filename =
67
67
  // macOS: as of 0.102.0, binaries are universal
68
68
  platform === "darwin" && arch === "x64" ?
69
- `hugo_extended_${version}_macOS-universal.tar.gz` :
69
+ `hugo_extended_${version}_darwin-universal.tar.gz` :
70
70
  platform === "darwin" && arch === "arm64" ?
71
- `hugo_extended_${version}_macOS-universal.tar.gz` :
71
+ `hugo_extended_${version}_darwin-universal.tar.gz` :
72
72
 
73
73
  // Windows
74
74
  platform === "win32" && arch === "x64" ?
75
- `hugo_extended_${version}_Windows-64bit.zip` :
75
+ `hugo_extended_${version}_windows-amd64.zip` :
76
76
  platform === "win32" && arch === "arm64" ?
77
- `hugo_${version}_Windows-ARM64.zip` :
77
+ `hugo_${version}_windows-arm64.zip` :
78
78
 
79
79
  // Linux
80
80
  platform === "linux" && arch === "x64" ?
81
- `hugo_extended_${version}_Linux-64bit.tar.gz` :
81
+ `hugo_extended_${version}_linux-amd64.tar.gz` :
82
82
  platform === "linux" && arch === "arm64" ?
83
- `hugo_extended_${version}_Linux-ARM64.tar.gz` :
83
+ `hugo_extended_${version}_linux-arm64.tar.gz` :
84
84
 
85
85
  // FreeBSD
86
86
  platform === "freebsd" && arch === "x64" ?
87
- `hugo_${version}_FreeBSD-64bit.tar.gz` :
87
+ `hugo_${version}_freebsd-amd64.tar.gz` :
88
88
 
89
89
  // OpenBSD
90
90
  platform === "openbsd" && arch === "x64" ?
91
- `hugo_${version}_OpenBSD-64bit.tar.gz` :
91
+ `hugo_${version}_openbsd-amd64.tar.gz` :
92
92
 
93
93
  // not gonna work :(
94
94
  null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hugo-extended",
3
- "version": "0.102.3",
3
+ "version": "0.103.0",
4
4
  "description": "✏️ Plug-and-play binary wrapper for Hugo Extended, the awesomest static-site generator.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/jakejarvis/hugo-extended",