Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

n8nrel

A small CLI tool that fetches and prints the latest n8n release version. Supports the npm package, the official Helm chart, and the official AWS Terraform module.

Install

git clone https://github.com/jan/n8nrel.git
cd n8nrel
npm install
npm run build
npm link

After npm link, n8nrel is available anywhere in your terminal.

Usage

n8nrel [--beta | --next] [--changelog] [--helm] [--terraform] [--all] [--help]

n8n npm package (default)

Print the latest stable n8n version from the npm registry:

n8nrel
# 1.98.1

Print the latest beta version:

n8nrel --beta
# 1.99.0-beta.1

Print the latest next (release candidate) version:

n8nrel --next
# 1.100.0-rc.2

Print the GitHub release notes for the latest stable version:

n8nrel --changelog
# n8n@1.98.1
# ## What's Changed
# ...

--changelog also works with --beta and --next.

Helm chart

Print the latest n8n Helm chart version from the n8n-io/n8n-hosting GitHub repository:

n8nrel --helm
# 1.10.1

Print the release notes for the latest Helm chart version:

n8nrel --helm --changelog
# v1.10.1
# ## What's Changed
# ...

--helm cannot be combined with --beta or --next.

Terraform module

Print the latest version of the official n8n-io/n8n/aws module from the Terraform Registry:

n8nrel --terraform
# 0.1.0

Print the GitHub release notes for that version from the n8n-io/terraform-aws-n8n repository:

n8nrel --terraform --changelog
# 0.1.0
# ## What's Changed
# ...

--terraform cannot be combined with --helm, --beta, or --next.

All versions

Print the latest stable, beta, and next npm versions, the latest Helm chart version, and the latest Terraform module version together as a single aligned table:

n8nrel --all
# stable     1.98.1
# beta       1.99.0-beta.1
# next       1.100.0-rc.2
# helm       1.10.1
# terraform  0.1.0

The five lookups run concurrently. If one fails, its row prints n/a and the command still exits 0. --all cannot be combined with --beta, --next, --helm, --terraform, or --changelog.

Flags

Flag Description
(none) Print the latest stable n8n npm version
--beta Use the beta dist-tag instead of latest
--next Use the next dist-tag instead of latest
--changelog Also print the GitHub release notes
--helm Look up the latest n8n Helm chart version
--terraform Look up the latest n8n AWS Terraform module version
--all Print stable, beta, next, Helm, and Terraform versions as a table
--help, -h Print the usage string and exit

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages