mirror of
https://github.com/marcoallegretti/karapace.git
synced 2026-03-26 21:43:09 +00:00
- Pin cargo-cyclonedx@0.5.5 in scripts/generate-sbom.sh (matches CI) - Remove hardcoded /home/lateuf paths from .cargo/config.toml - Remove stale 'quick' command reference from CHANGELOG 0.1.0
10 lines
276 B
Bash
Executable file
10 lines
276 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
command -v cargo-cyclonedx >/dev/null 2>&1 || {
|
|
echo "Installing cargo-cyclonedx..."
|
|
cargo install cargo-cyclonedx@0.5.5 --locked
|
|
}
|
|
|
|
cargo cyclonedx --format json --output-prefix karapace
|
|
echo "SBOM written to karapace_bom.json"
|