Update bump-versions.sh

This commit is contained in:
Leendert de Borst
2026-01-30 12:15:54 +01:00
parent f40317ee7b
commit cbc5aa835a
+4
View File
@@ -484,6 +484,10 @@ elif [[ "$MARKETING_UPDATE" == true ]]; then
update_version "../core/rust/Cargo.toml" \
"^version = \"[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*[^\"]*\"" \
"version = \"$version\""
# Update Rust core Cargo.lock (aliasvault-core package version)
echo "Updating Rust core Cargo.lock version..."
sed -i '' '/^name = "aliasvault-core"$/{n;s/version = "[^"]*"/version = "'"$version"'"/;}' "../core/rust/Cargo.lock"
fi
# Handle build numbers with semantic versioning