Skip to content

Edditoria/hugo-release-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Release Watcher

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.

Usage

# 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:

  1. release-data.json: The plain Hugo release data fetched from GitHub.
  2. inspected-assets-list.json: Organized release files in:
    1. "passed" objects: Will be used in asdf-hugo.
    2. "ignored": Expected to be ignored in current development of asdf-hugo.
    3. "unexpected": Unexpected errors or design of the scripts. Fix it later.
  3. hugo-releases.json: List of "expected" release files organized by query keys.
  4. hugo_releases.csv: Used directly in [asdf-hugo][asdf_hugo_repo] project.

Copyright and License

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. 🍕

About

Examine the filename in releases of Hugo

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published