Spaces:
Sleeping
Sleeping
Download apps/redis/scripts/version.sh from s-eto-hub/firecrawl-api: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/redis/scripts/version.sh
- Command line
-
hf download hf://spaces/s-eto-hub/firecrawl-api/apps/redis/scripts/version.sh
-
curl -L -o version.sh https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/redis/scripts/version.sh
244 Bytes
| ORIGIN=${ORIGIN:-origin} | |
| version=$(git fetch --tags "${ORIGIN}" &>/dev/null | git -c "versionsort.prereleasesuffix=-pre" tag -l --sort=version:refname | grep -v dev | grep -vE '^v2$' | grep -vE '^v1$' | tail -n1 | cut -c 2-) | |
| echo "$version" | |