INNER CODE UNIT · YAML

SOURCE_CONSTANTS

ahinko/home-ops · .github/scripts/immich-vchord-allowed-version.sh:7

SOURCE_CONSTANTS=$(curl -s https://raw.githubusercontent.com/immich-app/immich/$version/server/src/constants.ts)

# Extract the upper bound constraint (e.g., "<0.6" or "<=0.6") from VECTORCHORD_VERSION_RANGE
ALLOWED_VERSION=$(echo "$SOURCE_CONSTANTS" | sed -n "s/.*VECTORCHORD_VERSION_RANGE = '>=[0-9.]* \(<[=]*[0-9.]*\)'.*/\1/p")

# Update renovate config for vchord-scratch
sed -i "s/allowedVersions: \"<[^\"]*\", \/\/ immich/allowedVersions: \"${ALLOWED_VERSION}\", \/\/ immich/" .renovate/allowedVersions.json5

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…