1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2025-09-15 22:35:31 -04:00

Hugo v0.89.1 (reverts universal macOS release)

This commit is contained in:
2021-11-05 12:30:47 -04:00
parent ca09f24378
commit 9207c20018
3 changed files with 12 additions and 10 deletions

View File

@@ -64,9 +64,11 @@ export function getReleaseFilename(version) {
const { platform, arch } = process;
const filename =
// macOS (universal binary as of 0.89.0)
platform === "darwin" ?
`hugo_extended_${version}_macOS-all.tar.gz` :
// macOS
platform === "darwin" && arch === "x64" ?
`hugo_extended_${version}_macOS-64bit.tar.gz` :
platform === "darwin" && arch === "arm64" ?
`hugo_extended_${version}_macOS-ARM64.tar.gz` :
// Windows
platform === "win32" && arch === "x64" ?