Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
get latest github release tag
#!/usr/bin/env bash
set -eux -o pipefail
helmrelease=$(curl -sL "https://api.github.com/repos/helm/helm/releases/latest" | awk -F '"' '/tag_name/{print $4}')
echo using latest helm $helmrelease
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.