From 0216e855b6ebeecffb560ab6851ade773e5e4a27 Mon Sep 17 00:00:00 2001 From: Jeremy Lin Date: Thu, 6 May 2021 01:05:16 -0700 Subject: [PATCH] fix web vault build procedure --- Building-binary.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Building-binary.md b/Building-binary.md index 1878496..c82d959 100644 --- a/Building-binary.md +++ b/Building-binary.md @@ -58,10 +58,12 @@ If you prefer to compile it manually, follow these steps: - Clone the git repository at [bitwarden/web](https://github.com/bitwarden/web) and checkout the latest release tag (e.g. v2.1.1): ```sh # clone the repository -git clone --recurse-submodules https://github.com/bitwarden/web.git web-vault +git clone https://github.com/bitwarden/web.git web-vault cd web-vault # switch to the latest tag git checkout "$(git tag --sort=v:refname | tail -n1)" +# use the matching jslib commit +git submodule update --init --recursive ``` - 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.