From 9dfeb07676f0fb141b4172807e86691b386ffe0e Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 18 Feb 2024 10:41:20 +0100 Subject: [PATCH] CI: redirect changelog error to stdout during CI stdout is redirected to "changelog.txt" and thus not seen --- .github/scripts/changelog.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/changelog.sh b/.github/scripts/changelog.sh index 76492cf8a5..026549eb9a 100755 --- a/.github/scripts/changelog.sh +++ b/.github/scripts/changelog.sh @@ -26,7 +26,7 @@ set -e # Check if the version argument is provided if [ "$#" -ne 1 ]; then - echo "Usage: $0 " + echo "Usage: $0 " 1>&2 exit 1 fi @@ -37,7 +37,7 @@ changelog="" # Check if the specified changelog file exists if [ ! -f "$changelog_file" ]; then - echo "Error: Changelog file '$changelog_file' not found" + echo "Error: Changelog file '$changelog_file' not found" 1>&2 exit 1 fi @@ -60,7 +60,7 @@ done < "$changelog_file" # If the specified version was not found, print an error if ! $found_version; then - echo "Error: Version $version was not found in changelog" + echo "Error: Version $version was not found in changelog" 1>&2 exit 1 fi