From 1d1a5ce916bb6c36f6e3e426960041cc1b5f2e77 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Tue, 12 May 2020 09:02:12 -0700 Subject: [PATCH] Use _latest RPM/DEB filenames in docs --- site/config.toml | 2 -- site/content/en/docs/contrib/releasing/binaries.md | 6 ------ site/content/en/docs/start/_index.md | 8 ++++---- site/layouts/shortcodes/latest.html | 1 - 4 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 site/layouts/shortcodes/latest.html diff --git a/site/config.toml b/site/config.toml index 70982d656..28a660389 100644 --- a/site/config.toml +++ b/site/config.toml @@ -71,8 +71,6 @@ weight = 1 [params] copyright = "The Kubernetes Authors -- " -# The latest release of minikube -latest_release = "1.9.2" privacy_policy = "" diff --git a/site/content/en/docs/contrib/releasing/binaries.md b/site/content/en/docs/contrib/releasing/binaries.md index 763feff91..b29f19daa 100644 --- a/site/content/en/docs/contrib/releasing/binaries.md +++ b/site/content/en/docs/contrib/releasing/binaries.md @@ -82,12 +82,6 @@ This file is used for auto-update notifications, but is not active until release minikube-bot will send out a PR to update the release checksums at the top of `deploy/minikube/releases.json`. You should merge this PR. -## Update documentation link - -Update `latest_release` in `site/config.toml` - -example: https://github.com/kubernetes/minikube/pull/5413 - ## Package managers which include minikube These are downstream packages that are being maintained by others and how to upgrade them to make sure they have the latest versions diff --git a/site/content/en/docs/start/_index.md b/site/content/en/docs/start/_index.md index e847ca1b3..71746209e 100644 --- a/site/content/en/docs/start/_index.md +++ b/site/content/en/docs/start/_index.md @@ -36,15 +36,15 @@ For Linux users, we provide 3 easy download options: ### Debian package ```shell -curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_{{< latest >}}-0_amd64.deb -sudo dpkg -i minikube_{{< latest >}}-0_amd64.deb +curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb +sudo dpkg -i minikube_latest_amd64.deb ``` ### RPM package ```shell -curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-{{< latest >}}-0.x86_64.rpm -sudo rpm -ivh minikube-{{< latest >}}-0.x86_64.rpm +curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-latest.x86_64.rpm +sudo rpm -ivh minikube-latest.x86_64.rpm ``` {{% /tab %}} diff --git a/site/layouts/shortcodes/latest.html b/site/layouts/shortcodes/latest.html deleted file mode 100644 index dc746b6c2..000000000 --- a/site/layouts/shortcodes/latest.html +++ /dev/null @@ -1 +0,0 @@ -{{ $.Site.Params.latest_release }} \ No newline at end of file -- GitLab