Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Shorten PDM hash to first 8 characters (#4551)
Dhruv Bhanushali29c540c91f15
diff --git a/api/justfile b/api/justfileindex 3e0a6fe0d..361aa978f 100644--- a/api/justfile+++ b/api/justfile@@ -16,7 +16,7 @@ NO_COLOR := "\\033[0m"# These commands use standard GNU tools instead of `pdm` because we do not# require PDM on the host machine for API development.-export API_PDM_HASH := `grep 'content_hash' pdm.lock | awk -F'[:"]' '{print $3}'`+export API_PDM_HASH := `grep 'content_hash' pdm.lock | awk -F'[:"]' '{print $3}' | cut -c1-8`export API_PY_VERSION := `grep 'requires-python' pyproject.toml | awk -F'"' '{print $2}' | sed 's/^==//g; s/\.\*$//g'`export PGCLI_VERSION := `grep -A 1 'name = "pgcli"' pdm.lock | grep 'version' | awk -F'"' '{print $2}'`