Rename version file to remove bwrs reference

Requires https://github.com/dani-garcia/vaultwarden/pull/2195
This commit is contained in:
Jake Howard 2022-01-01 13:03:08 +00:00 committed by GitHub
parent 2ae84a8dd4
commit 5ab4a45298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ npm run dist:oss:selfhost
# Create bwrs-version.json with the latest tag from the remote repo. # Create bwrs-version.json with the latest tag from the remote repo.
printf '{"version":"%s"}' \ printf '{"version":"%s"}' \
"$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/dani-garcia/bw_web_builds.git 'v*' | tail -n1 | sed -E 's#.*?refs/tags/v##')" \ "$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.com/dani-garcia/bw_web_builds.git 'v*' | tail -n1 | sed -E 's#.*?refs/tags/v##')" \
> build/bwrs-version.json > build/vw-version.json
# Prepare the final archives # Prepare the final archives
mv build web-vault mv build web-vault