You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-09-15 22:35:31 -04:00
bump careful-downloader to 2.0.0
https://github.com/jakejarvis/careful-downloader/releases/tag/v2.0.0
This commit is contained in:
@@ -45,18 +45,13 @@ async function installHugo() {
|
||||
}
|
||||
|
||||
// download release from GitHub and verify its checksum
|
||||
const download = await downloader(
|
||||
getReleaseUrl(version, releaseFile),
|
||||
getReleaseUrl(version, checksumFile),
|
||||
{
|
||||
filename: releaseFile,
|
||||
destDir: "vendor",
|
||||
cleanDestDir: false,
|
||||
algorithm: "sha256",
|
||||
encoding: "binary",
|
||||
extract: true,
|
||||
},
|
||||
);
|
||||
const download = await downloader(getReleaseUrl(version, releaseFile), {
|
||||
checksumUrl: getReleaseUrl(version, checksumFile),
|
||||
filename: releaseFile,
|
||||
destDir: "vendor",
|
||||
algorithm: "sha256",
|
||||
extract: true,
|
||||
});
|
||||
|
||||
// ensure hugo[.exe] is executable
|
||||
fs.chmodSync(path.join(download, binFile), 0o755);
|
||||
|
Reference in New Issue
Block a user