Created
January 26, 2019 14:28
-
-
Save afirth/6e86e973ab9cf2ecf1f5de5c7763a702 to your computer and use it in GitHub Desktop.
get latest github release tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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