Compare commits

...

2 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
f36606552a Vaultwarden: export VW_VERSION as version number
Set and export the VW_VERSION environment variable prior to running cargo build in both ct/vaultwarden.sh and install/vaultwarden-install.sh. In ct/vaultwarden.sh VW_VERSION is assigned from $VAULT, and in the install script it's obtained via get_latest_github_release. This ensures the build process has the expected VW_VERSION available during compilation.
2026-02-16 08:23:05 +01:00
community-scripts-pr-app[bot]
652920ee49 chore: update github-versions.json (#11962)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-16 06:25:17 +00:00
3 changed files with 5 additions and 1 deletions

View File

@@ -45,6 +45,8 @@ function update_script() {
msg_info "Updating VaultWarden to $VAULT (Patience)"
cd /tmp/vaultwarden-src
VW_VERSION="$VAULT"
export VW_VERSION
$STD cargo build --features "sqlite,mysql,postgresql" --release
if [[ -f /usr/bin/vaultwarden ]]; then
cp target/release/vaultwarden /usr/bin/

View File

@@ -1,5 +1,5 @@
{
"generated": "2026-02-16T00:22:01Z",
"generated": "2026-02-16T06:25:10Z",
"versions": [
{
"slug": "2fauth",

View File

@@ -29,6 +29,8 @@ fetch_and_deploy_gh_release "vaultwarden" "dani-garcia/vaultwarden" "tarball" "l
msg_info "Building Vaultwarden (Patience)"
cd /tmp/vaultwarden-src
VW_VERSION=$(get_latest_github_release "dani-garcia/vaultwarden")
export VW_VERSION
$STD cargo build --features "sqlite,mysql,postgresql" --release
msg_ok "Built Vaultwarden"