You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-06-14 15:45:27 -04:00
as of Hugo 0.89.0, macOS binary is universal and Free/OpenBSD is x64 only
https://github.com/gohugoio/hugo/releases/tag/v0.89.0
This commit is contained in:
+2
-16
@@ -65,10 +65,8 @@ export function getReleaseFilename(version) {
|
|||||||
|
|
||||||
const filename =
|
const filename =
|
||||||
// macOS
|
// macOS
|
||||||
platform === "darwin" && arch === "x64" ?
|
platform === "darwin" ?
|
||||||
`hugo_extended_${version}_macOS-64bit.tar.gz` :
|
`hugo_extended_${version}_macOS-all.tar.gz` :
|
||||||
platform === "darwin" && arch === "arm64" ?
|
|
||||||
`hugo_extended_${version}_macOS-ARM64.tar.gz` :
|
|
||||||
|
|
||||||
// Windows
|
// Windows
|
||||||
platform === "win32" && arch === "x64" ?
|
platform === "win32" && arch === "x64" ?
|
||||||
@@ -91,22 +89,10 @@ export function getReleaseFilename(version) {
|
|||||||
// FreeBSD
|
// FreeBSD
|
||||||
platform === "freebsd" && arch === "x64" ?
|
platform === "freebsd" && arch === "x64" ?
|
||||||
`hugo_${version}_FreeBSD-64bit.tar.gz` :
|
`hugo_${version}_FreeBSD-64bit.tar.gz` :
|
||||||
platform === "freebsd" && arch.endsWith("32") ?
|
|
||||||
`hugo_${version}_FreeBSD-32bit.tar.gz` :
|
|
||||||
platform === "freebsd" && arch === "arm" ?
|
|
||||||
`hugo_${version}_FreeBSD-ARM.tar.gz` :
|
|
||||||
platform === "freebsd" && arch === "arm64" ?
|
|
||||||
`hugo_${version}_FreeBSD-ARM64.tar.gz` :
|
|
||||||
|
|
||||||
// OpenBSD
|
// OpenBSD
|
||||||
platform === "openbsd" && arch === "x64" ?
|
platform === "openbsd" && arch === "x64" ?
|
||||||
`hugo_${version}_OpenBSD-64bit.tar.gz` :
|
`hugo_${version}_OpenBSD-64bit.tar.gz` :
|
||||||
platform === "openbsd" && arch.endsWith("32") ?
|
|
||||||
`hugo_${version}_OpenBSD-32bit.tar.gz` :
|
|
||||||
platform === "openbsd" && arch === "arm" ?
|
|
||||||
`hugo_${version}_OpenBSD-ARM.tar.gz` :
|
|
||||||
platform === "openbsd" && arch === "arm64" ?
|
|
||||||
`hugo_${version}_OpenBSD-ARM64.tar.gz` :
|
|
||||||
|
|
||||||
// not gonna work :(
|
// not gonna work :(
|
||||||
null;
|
null;
|
||||||
|
|||||||
Reference in New Issue
Block a user