aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deploy-docs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/deploy-docs.sh b/scripts/deploy-docs.sh
index cd877cd..d166c61 100755
--- a/scripts/deploy-docs.sh
+++ b/scripts/deploy-docs.sh
@@ -78,7 +78,7 @@ update_versions_manifest() {
fi
# Add all tagged versions (sorted in reverse)
- if compgen -G "$BUILD_DIR/v*" > /dev/null; then
+ if compgen -G "$BUILD_DIR/v*" >/dev/null; then
for dir in $(find "$BUILD_DIR" -maxdepth 1 -type d -name "v*" | sort -Vr); do
local ver=$(basename "$dir")
versions_json=$(echo "$versions_json" | jq --arg v "$ver" '. += [{"version": $v, "title": $v}]')
@@ -86,7 +86,7 @@ update_versions_manifest() {
fi
# Create final JSON structure
- jq -n --argjson versions "$versions_json" '{"versions": $versions}' > "$BUILD_DIR/versions.json"
+ jq -n --argjson versions "$versions_json" '{"versions": $versions}' >"$BUILD_DIR/versions.json"
local version_count=$(echo "$versions_json" | jq 'length')
log_success "Versions manifest updated with $version_count version(s)"