From 6dec515e6c2a6addaca3bb8f46f2671825043ab4 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Wed, 27 Nov 2019 14:00:21 +0100 Subject: [PATCH] Add --sort to `git tag` in order to really have last tag (previous command give 2.9.0 instead of 2.12.0) --- Building-binary.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Building-binary.md b/Building-binary.md index be1844e..32e0407 100644 --- a/Building-binary.md +++ b/Building-binary.md @@ -39,7 +39,7 @@ If you prefer to compile it manually, follow these steps: git clone https://github.com/bitwarden/web.git web-vault cd web-vault # switch to the latest tag -git checkout "$(git tag | tail -n1)" +git checkout "$(git tag --sort=v:refname | tail -n1)" ``` - Download the patch file from [dani-garcia/bw_web_builds](https://github.com/dani-garcia/bw_web_builds/tree/master/patches) and copy it to the `web-vault` folder.