Files
my-rook-config/Documentation/branch.liquid
T
Alex Punnen ae633f4828 docs: add 'git clone' step to quickstart guides
Add documentation to clone the correct release branch of the repo
        to reduce confusion from pulling the wrong branch.

Signed-off-by: Alex Punnen <alexcpn@gmail.com>
2019-12-07 11:19:29 +05:30

8 lines
260 B
Plaintext

{% assign url = page.url | split: '/' %}
{% assign currentVersion = url[3] %}
{% if currentVersion != 'master' %}
{% assign branchName = currentVersion | replace: 'v', '' | prepend: 'release-' %}
{% else %}
{% assign branchName = currentVersion %}
{% endif %}