From 88596b2f31cd70241827c6537c40ed532df191ae Mon Sep 17 00:00:00 2001 From: Angus Lees Date: Wed, 21 Jun 2017 11:56:14 +1000 Subject: [PATCH] Use query to dynamically fetch latest release Updating the README after every release is a bit silly. Indicate that people shouldn't assume the given version is the latest by giving them some example shell to determine it dynamically. [ci skip] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb10a1038d..6703669796 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ See https://github.com/ksonnet/sealed-secrets/releases for the latest release. ```sh -$ release=v0.2.0 +$ release=$(curl --silent "https://api.github.com/repos/ksonnet/sealed-secrets/releases/latest" | sed -n 's/.*"tag_name": *"\([^"]*\)".*/\1/p') # Install client-side tool into /usr/local/bin/ $ GOOS=$(go env GOOS)