Skip to content

Commit

Permalink
chore: [DX-2725] fix update docs link script (#1610)
Browse files Browse the repository at this point in the history
  • Loading branch information
carleeto authored Mar 21, 2024
1 parent 4de1c9e commit b85da76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/scripts/update-docs-link.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ fi

# Update versions in the browserBundle docs (https://docs.immutable.com/docs/x/sdks/typescript/#browser-bundle)
FILE=docs/main/sdks/_typescript.mdx
major=$(awk '{
major=$(echo $VERSION | awk '{
split($0, a, ".");
print a[1];
}' <<< $VERSION)
minor=$(awk '{
}')
minor=$(echo $VERSION | awk '{
split($0, a, ".");
print a[2];
}' <<< $VERSION)
patch=$(awk '{
}')
patch=$(echo $VERSION | awk '{
split($0, a, ".");
print a[3];
}' <<< $VERSION)
}')
echo "major: $major minor: $minor patch: $patch"

# On Mac OS, sed requires an empty string as an argument to -i to avoid creating a backup file
Expand Down

0 comments on commit b85da76

Please sign in to comment.