Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(*): Fix compatibility with newer Hugo binaries (0.103.0) #51

Merged
merged 1 commit into from Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -54,7 +54,7 @@ The Hugo version can be set using the `--version` CLI parameter. For example:
```json
{
"scripts": {
"postinstall": "hugo-installer --version 0.102.3"
"postinstall": "hugo-installer --version 0.103.0"
}
}
```
Expand All @@ -67,7 +67,7 @@ You can also use the extended version of Hugo (for some operating systems!) by s
```json
{
"scripts": {
"postinstall": "hugo-installer --version 0.102.3 --extended"
"postinstall": "hugo-installer --version 0.103.0 --extended"
}
}
```
Expand All @@ -78,7 +78,7 @@ Hugo version to be configured someplace else, e.g. in a `otherDependencies` obje
```json
{
"otherDependencies": {
"hugo": "0.102.3"
"hugo": "0.103.0"
},
"scripts": {
"postinstall": "hugo-installer --version otherDependencies.hugo"
Expand Down
28 changes: 28 additions & 0 deletions generated/hugo-releases-meta.json
Expand Up @@ -4,6 +4,10 @@
"os": "win32",
"arch": "x64",
"fileNamePatternHistory": [
{
"version": "0.103.0",
"fileNamePattern": "{{variant}}_{{version}}_windows-amd64.zip"
},
{
"version": "0.20.4",
"fileNamePattern": "{{variant}}_{{version}}_Windows-64bit.zip"
Expand Down Expand Up @@ -80,6 +84,10 @@
"os": "darwin",
"arch": "x64",
"fileNamePatternHistory": [
{
"version": "0.103.0",
"fileNamePattern": "{{variant}}_{{version}}_darwin-universal.tar.gz"
},
{
"version": "0.102.0",
"fileNamePattern": "{{variant}}_{{version}}_macOS-universal.tar.gz"
Expand Down Expand Up @@ -190,6 +198,10 @@
"os": "darwin",
"arch": "arm64",
"fileNamePatternHistory": [
{
"version": "0.103.0",
"fileNamePattern": "{{variant}}_{{version}}_darwin-universal.tar.gz"
},
{
"version": "0.102.0",
"fileNamePattern": "{{variant}}_{{version}}_macOS-universal.tar.gz"
Expand Down Expand Up @@ -296,6 +308,10 @@
"os": "linux",
"arch": "arm",
"fileNamePatternHistory": [
{
"version": "0.103.0",
"fileNamePattern": "{{variant}}_{{version}}_linux-arm.tar.gz"
},
{
"version": "0.20.4",
"fileNamePattern": "{{variant}}_{{version}}_Linux-ARM.tar.gz"
Expand Down Expand Up @@ -334,6 +350,10 @@
"os": "linux",
"arch": "arm64",
"fileNamePatternHistory": [
{
"version": "0.103.0",
"fileNamePattern": "{{variant}}_{{version}}_linux-arm64.tar.gz"
},
{
"version": "0.20.4",
"fileNamePattern": "{{variant}}_{{version}}_Linux-ARM64.tar.gz"
Expand All @@ -360,6 +380,10 @@
"os": "freebsd",
"arch": "x64",
"fileNamePatternHistory": [
{
"version": "0.103.0",
"fileNamePattern": "{{variant}}_{{version}}_freebsd-amd64.tar.gz"
},
{
"version": "0.20.4",
"fileNamePattern": "{{variant}}_{{version}}_FreeBSD-64bit.tar.gz"
Expand Down Expand Up @@ -492,6 +516,10 @@
"os": "openbsd",
"arch": "x64",
"fileNamePatternHistory": [
{
"version": "0.103.0",
"fileNamePattern": "{{variant}}_{{version}}_openbsd-amd64.tar.gz"
},
{
"version": "0.20.4",
"fileNamePattern": "{{variant}}_{{version}}_OpenBSD-64bit.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -34,7 +34,7 @@
"generate-hugo-releases-meta": "node --experimental-specifier-resolution=node --loader ts-node/esm ./tools/generate-hugo-releases-meta.ts",
"lint": "eslint index.ts bin/** --max-warnings 0",
"lint:fix": "eslint index.ts bin/** --max-warnings 0 --fix",
"test": "rimraf -r test-output && node dist/bin/hugo-installer --version 0.102.3 --destination test-output/hugo-0.102.3"
"test": "rimraf -r test-output && node dist/bin/hugo-installer --version 0.103.0 --destination test-output/hugo-0.103.0"
},
"dependencies": {
"decompress": "4.2.x",
Expand Down