From 47f87c4409475ec5b68b80decbd539df22802aa1 Mon Sep 17 00:00:00 2001 From: Davlatjon Shavkatov Date: Fri, 1 Mar 2024 10:57:32 +0500 Subject: [PATCH] fix(core): remove unused variables --- release.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/release.sh b/release.sh index 4de7866..eaa6cb7 100755 --- a/release.sh +++ b/release.sh @@ -22,8 +22,6 @@ Options: ############################## ####### Root variables ####### ############################## -# shellcheck disable=2034 -EXEC_DIR=$(pwd) SCRIPT_DIR=$(dirname -- "$(readlink -f -- "$0")") CURRENT_DATE=$(date +'%Y-%m-%d') IS_GIT_REPO=$(git rev-parse --is-inside-work-tree) @@ -31,8 +29,6 @@ GIT_LOG_ENTRY_SEPARATOR='%n' GIT_LOG_FORMAT="%B$GIT_LOG_ENTRY_SEPARATOR%h$GIT_LOG_ENTRY_SEPARATOR%H" #GIT_LOG_FORMAT+="%(trailers:only=true)$GIT_LOG_ENTRY_SEPARATOR%h$GIT_LOG_ENTRY_SEPARATOR%H" GIT_REMOTE_ORIGIN=$(git remote get-url origin 2>/dev/null || echo "") -# shellcheck disable=2034 -GIT_CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) GIT_REPO_NAME= if [[ "$GIT_REMOTE_ORIGIN" == "git@"* ]]; then