From 0cf33e3254af299dcffdd318be1bca21ea2f1524 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sun, 5 Jun 2022 11:24:44 +0300 Subject: [PATCH] Fix lint --- utils/deb/deploy.sh | 7 +++++-- utils/rpm/deploy.sh | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/utils/deb/deploy.sh b/utils/deb/deploy.sh index c08994e5..bd7a8082 100755 --- a/utils/deb/deploy.sh +++ b/utils/deb/deploy.sh @@ -14,8 +14,11 @@ source "$SECRETS_PROJECT_ROOT/utils/build-utils.sh" readonly BASE_API_URL='https://gitsecret.jfrog.io/artifactory' # This folder should contain just one `.dev` file: -readonly DEB_FILE_LOCATION="$(locate_release 'deb')" -readonly DEB_FILE_NAME="$(basename "$DEB_FILE_LOCATION")" +readonly DEB_FILE_LOCATION +DEB_FILE_LOCATION="$(locate_release 'deb')" + +readonly DEB_FILE_NAME +DEB_FILE_NAME="$(basename "$DEB_FILE_LOCATION")" curl -sS \ diff --git a/utils/rpm/deploy.sh b/utils/rpm/deploy.sh index f880ea62..35d1c204 100644 --- a/utils/rpm/deploy.sh +++ b/utils/rpm/deploy.sh @@ -14,8 +14,11 @@ source "$SECRETS_PROJECT_ROOT/utils/build-utils.sh" readonly BASE_API_URL='https://gitsecret.jfrog.io/artifactory' # This folder should contain just one `.rpm` file: -readonly RPM_FILE_LOCATION="$(locate_release 'rpm')" -readonly RPM_FILE_NAME="$(basename "$RPM_FILE_LOCATION")" +readonly RPM_FILE_LOCATION +RPM_FILE_LOCATION="$(locate_release 'rpm')" + +readonly RPM_FILE_NAME +RPM_FILE_NAME="$(basename "$RPM_FILE_LOCATION")" curl -sS \