This is a quick and dirty mini-project to examine the filename in releases of Hugo, an awesome static website generator.
I created this for another project asdf-hugo, my own asdf-plugin to manage multiple Hugo cli for macOS and Linux.
This project requires Deno to run.
# List all tasks
deno task
# Steps
deno task fetch
deno task inspect
deno task create-json
deno task export-csv
The output files are in reports/
directory:
release-data.json
: The plain Hugo release data fetched from GitHub.inspected-assets-list.json
: Organized release files in:- "passed" objects: Will be used in
asdf-hugo
. - "ignored": Expected to be ignored in current development of
asdf-hugo
. - "unexpected": Unexpected errors or design of the scripts. Fix it later.
- "passed" objects: Will be used in
hugo-releases.json
: List of "expected" release files organized by query keys.hugo_releases.csv
: Used directly in [asdf-hugo][asdf_hugo_repo] project.
Copyright (c) Edditoria. All rights reserved. Code released under the MIT License. Docs released under Creative Commons.
As human-readable summary (but not a substitute for the license):
You can use it, share it, modify the code and distribute your work for private and commercial uses. If you like, please share your work with me. 🍕