@@ -22,6 +22,7 @@ CS_DATABASE__PORT = "5532"
2222CS_PROXY__HOST = " proxy"
2323# Misc
2424DOCKER_CLI_HINTS = " false" # Please don't show us What's Next.
25+ CS_EQL_VERSION =" eql-0.5.4"
2526
2627[tools ]
2728"cargo:cargo-binstall" = " latest"
@@ -466,15 +467,15 @@ outputs = [
466467run = """
467468# install script
468469if [ -z "$CS_EQL_PATH" ]; then
469- curl -sLo sql/cipherstash-encrypt.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/ download/cipherstash-encrypt.sql
470+ curl -sLo sql/cipherstash-encrypt.sql https://github.com/cipherstash/encrypt-query-language/releases/download/${CS_EQL_VERSION} /cipherstash-encrypt.sql
470471else
471472 echo "Using EQL: ${CS_EQL_PATH}"
472473 cp "$CS_EQL_PATH" sql/cipherstash-encrypt.sql
473474fi
474475
475476# uninstall script
476477if [ -z "$CS_EQL_UNINSTALL_PATH" ]; then
477- curl -sLo sql/cipherstash-encrypt-uninstall.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/ download/cipherstash-encrypt-uninstall.sql
478+ curl -sLo sql/cipherstash-encrypt-uninstall.sql https://github.com/cipherstash/encrypt-query-language/releases/download/${CS_EQL_VERSION} /cipherstash-encrypt-uninstall.sql
478479else
479480 echo "Using EQL: ${CS_EQL_PATH}"
480481 cp "$CS_EQL_UNINSTALL_PATH" sql/cipherstash-encrypt-uninstall.sql
@@ -545,7 +546,7 @@ description = "Fetch the EQL installation script"
545546run = """
546547if [ ! -e "cipherstash-eql.sql" ]; then
547548 echo "Fetching: cipherstash-eql.sql"
548- curl -sLo cipherstash-eql.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/ download/cipherstash-encrypt.sql
549+ curl -sLo cipherstash-eql.sql https://github.com/cipherstash/encrypt-query-language/releases/download/${CS_EQL_VERSION} /cipherstash-encrypt.sql
549550else
550551 echo "Prefetched: cipherstash-eql.sql"
551552fi
0 commit comments