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

add missing release for Windows on ARM64 (new as of 0.89.0)

This commit is contained in:
2021-11-02 15:51:20 -04:00
parent f7e9cd0038
commit ca09f24378

View File

@@ -64,7 +64,7 @@ export function getReleaseFilename(version) {
const { platform, arch } = process;
const filename =
// macOS
// macOS (universal binary as of 0.89.0)
platform === "darwin" ?
`hugo_extended_${version}_macOS-all.tar.gz` :
@@ -73,8 +73,10 @@ export function getReleaseFilename(version) {
`hugo_extended_${version}_Windows-64bit.zip` :
platform === "win32" && arch.endsWith("32") ?
`hugo_${version}_Windows-32bit.zip` :
platform === "win32" && "arm" ?
platform === "win32" && arch === "arm" ?
`hugo_${version}_Windows-ARM.zip` :
platform === "win32" && arch === "arm64" ?
`hugo_${version}_Windows-ARM64.zip` :
// Linux
platform === "linux" && arch === "x64" ?