From bc2fcec6c6de9bef63a1947c556a70b37fed2354 Mon Sep 17 00:00:00 2001 From: Pablo Vilas Date: Sun, 9 Jun 2024 11:49:27 -0500 Subject: [PATCH] Fix linter errors --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01a1015..9894bd3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,9 +23,9 @@ jobs: id: release run: | VERSION_NUMBER=$(grep '"version"' package.json | cut -d '"' -f 4) - MAJOR_VERSION_NUMBER=$(echo "$VERSION_NUMBER" | cut -d '.' -f 1) - VERSION=$(echo "v$VERSION_NUMBER") - MAJOR_VERSION=$(echo "v$MAJOR_VERSION_NUMBER") + MAJOR_VERSION_NUMBER=$(cut -d '.' -f 1 <<< "$VERSION_NUMBER") + VERSION="v$VERSION_NUMBER" + MAJOR_VERSION="v$MAJOR_VERSION_NUMBER" # Prepare code to upload npm run all