Initial
This commit is contained in:
commit
363a876c22
88 changed files with 783 additions and 0 deletions
19
ressources/vaultwarden-web/prebuild
Executable file
19
ressources/vaultwarden-web/prebuild
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
VERSION=$1
|
||||
|
||||
cd /tmp
|
||||
git clone https://github.com/bitwarden/web.git web-vault
|
||||
cd /tmp/web-vault
|
||||
git checkout ${VERSION}
|
||||
git submodule update --init --recursive
|
||||
cd ..
|
||||
|
||||
git clone https://github.com/dani-garcia/bw_web_builds.git
|
||||
cd bw_web_builds
|
||||
PATCH=$(git tag --sort=v:refname | tail -n1)
|
||||
git checkout ${PATCH}
|
||||
cp patches/${PATCH}.patch ../web-vault/
|
||||
|
||||
cd /tmp/web-vault
|
||||
git apply ${PATCH}.patch
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue