mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-11 12:21:28 -06:00
- Created new output files for OpenID build and deny logs. - Added JSON and text output for reqwest tree post native. - Implemented upgrade logs and error handling for build and deny processes. - Updated webauthn and webpki dependency trees in respective output files. - Addressed license rejection issues in upgrade process. - Included error logs for webauthn search and webpki tree post native.
19 lines
609 B
Bash
19 lines
609 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Safe copy of workspace
|
|
cp -a /workspace /tmp/wrk_copy
|
|
cd /tmp/wrk_copy
|
|
|
|
# Try bumping webauthn-rs to 0.6 in the copy (non-destructive)
|
|
perl -0777 -pe 's/webauthn-rs\s*=\s*"[^"]+"/webauthn-rs = "0.6"/g' -i Cargo.toml || true
|
|
|
|
# Attempt to update that package only
|
|
/usr/local/cargo/bin/cargo update -p webauthn-rs || true
|
|
|
|
# Run cargo-deny licenses check and capture outputs
|
|
/usr/local/cargo/bin/cargo deny --manifest-path Cargo.toml --format json check licenses > /tmp/deny_licenses.json 2>/tmp/deny_licenses.err || true
|
|
|
|
# Record done marker
|
|
echo done > /tmp/exp.done
|