Skip to content

Notifies the user whenever a new module release is available.

Notifications You must be signed in to change notification settings

hugo-mods/release-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hugo-mods: release-notify

⚠️ Work in progress! Use at own risk.

Notifies the user whenever a new module release is available.

Use cases

  • Notify user whenever a new major/minor/bugfix update is available (configurable)
  • Parse and compare semantic versions
  • Fetch and display release information

Preconditions:

How does it work? In short: Parses go.mod file, fetches releases via GitHub API and compares local vs. upstream version. Yes, this is all possible by using Hugo natively.

Go get it

Initialize Hugo's mod system on your site:

hugo mod init github.com/<username>/<your-repo>

Add module to site's config (e.g. config.yaml):

module:
  imports:
  - path: github.com/hugo-mods/release-notify

Configuration

Take a look at the exampleSite for now.

About

Notifies the user whenever a new module release is available.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages