Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Modernize CLI release command

Manav Rathi4bdce41bebf4
diff --git a/cli/release.sh b/cli/release.sh
index 05f97a0166..16e67be6ea 100755
--- a/cli/release.sh
+++ b/cli/release.sh
@@ -1,8 +1,6 @@
#!/bin/bash
-# shellcheck disable=SC2046
-# shellcheck disable=SC2006
-LATEST_TAG=$(git describe --tags `git rev-list --tags='cli-*' --max-count=1`)
+LATEST_TAG=$(git describe --tags "$(git rev-list --tags='cli-*' --max-count=1)")
if [ -z "$LATEST_TAG" ]; then
echo "No 'cli-' tag found. Exiting..."