File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22node = " 22.11.0"
33pnpm = " 9.15.3"
44
5+ [env ]
6+ CS_EQL_VERSION =" eql-1.0.0"
7+
58[tasks ."postgres:eql:download" ]
69alias = ' e'
710description = " Download latest EQL release"
@@ -14,15 +17,15 @@ mkdir sql
1417
1518# install script
1619if [ -z "$CS_EQL_PATH" ]; then
17- curl -sLo sql/cipherstash-encrypt.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/ download/cipherstash-encrypt.sql
20+ curl -sLo sql/cipherstash-encrypt.sql https://github.com/cipherstash/encrypt-query-language/releases/download/${CS_EQL_VERSION} /cipherstash-encrypt.sql
1821else
1922 echo "Using EQL: ${CS_EQL_PATH}"
2023 cp "$CS_EQL_PATH" sql/cipherstash-encrypt.sql
2124fi
2225
2326# uninstall script
2427if [ -z "$CS_EQL_UNINSTALL_PATH" ]; then
25- curl -sLo sql/cipherstash-encrypt-uninstall.sql https://github.com/cipherstash/encrypt-query-language/releases/latest/ download/cipherstash-encrypt-uninstall.sql
28+ curl -sLo sql/cipherstash-encrypt-uninstall.sql https://github.com/cipherstash/encrypt-query-language/releases/download/${CS_EQL_VERSION} /cipherstash-encrypt-uninstall.sql
2629else
2730 echo "Using EQL: ${CS_EQL_PATH}"
2831 cp "$CS_EQL_UNINSTALL_PATH" sql/cipherstash-encrypt-uninstall.sql
You can’t perform that action at this time.
0 commit comments