From 1ff50d1cd5bf8e7bb18eb2532ad83d8d6abffc1d Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Wed, 19 May 2021 00:04:44 +0200 Subject: [PATCH] Fix version in readme --- .github/readme/partials/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/readme/partials/introduction.md b/.github/readme/partials/introduction.md index 0250dab5..e8a7b017 100644 --- a/.github/readme/partials/introduction.md +++ b/.github/readme/partials/introduction.md @@ -1,7 +1,7 @@ Generate your metrics that you can embed everywhere, including your GitHub profile readme! It works for both user and organization accounts, and even for repositories! <% if (/[.]0-beta$/.test(packaged.version)) { %> -> *⚠️ This is the documentation of **v<%= packaged.version.replace(/[.]0-beta$/, "") %>-beta** (`@master` branch) which includes [unreleased features](https://github.com/lowlighter/metrics/compare/latest...master), see documentation of [**v<%= (Number(packaged.version.replace(/[.]0-beta$/, ""))-0.1).toFixed(1) %>** (`@latest` branch) here](https://github.com/lowlighter/metrics/blob/latest/README.md).* +> *⚠️ This is the documentation of **v<%= packaged.version.replace(/[.]0-beta$/, "") %>-beta** (`@master` branch) which includes [unreleased features](https://github.com/lowlighter/metrics/compare/latest...master), see documentation of [**v<%= (Number(packaged.version.replace(/[.]0-beta$/, ""))-0.01).toFixed(2).replace(/[.]0/, ".") %>** (`@latest` branch) here](https://github.com/lowlighter/metrics/blob/latest/README.md).* <% } %>