From 98acc325ae70598aaac5c86d0da0f11cd6258aba Mon Sep 17 00:00:00 2001 From: cicdguy <26552821+cicdguy@users.noreply.github.com> Date: Wed, 15 Nov 2023 18:04:50 -0600 Subject: [PATCH] Trim any newlines --- .github/workflows/version.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index 92a3ff97..e021a0ef 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -44,7 +44,7 @@ jobs: DESC_DEV_VERSION=$(echo $DESC_VERSION | awk -F '.' '{print $NF}') echo "NEWS.md version: $NEWS_VERSION" echo "DESCRIPTION version: $DESC_VERSION" - if [[ "${DESC_VERSION}" == "${NEWS_VERSION}" ]] + if [ "$DESC_VERSION" == "$NEWS_VERSION" ] then { echo "NEWS.md and DESCRIPTION have the same version 🎉" exit 0