From 5e7d946e380ab033421609a13d9017726e4ce6f5 Mon Sep 17 00:00:00 2001 From: Artyom Jaksov Date: Mon, 7 Oct 2024 19:57:43 +0200 Subject: [PATCH] try to fix echo issue --- .github/workflows/check-version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-version.yml b/.github/workflows/check-version.yml index 5fe9199..c6f5e8e 100644 --- a/.github/workflows/check-version.yml +++ b/.github/workflows/check-version.yml @@ -35,7 +35,7 @@ jobs: - name: Sort versions run: | - echo "GREATER_VERSION=$(echo $OLD_VERSION\\\n$NEW_VERSION | sort --version-sort | tail -n1)" >> $GITHUB_ENV + echo "GREATER_VERSION=$(echo -e ${OLD_VERSION}\\n${NEW_VERSION} | sort --version-sort | tail -n1)" >> $GITHUB_ENV - name: Make sure new version is greater run: |