aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.github/scripts/changelog.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/scripts/changelog.sh b/.github/scripts/changelog.sh
index 76492cf..026549e 100755
--- a/.github/scripts/changelog.sh
+++ b/.github/scripts/changelog.sh
@@ -26,7 +26,7 @@ set -e
26 26
27# Check if the version argument is provided 27# Check if the version argument is provided
28if [ "$#" -ne 1 ]; then 28if [ "$#" -ne 1 ]; then
29 echo "Usage: $0 <version>" 29 echo "Usage: $0 <version>" 1>&2
30 exit 1 30 exit 1
31fi 31fi
32 32
@@ -37,7 +37,7 @@ changelog=""
37 37
38# Check if the specified changelog file exists 38# Check if the specified changelog file exists
39if [ ! -f "$changelog_file" ]; then 39if [ ! -f "$changelog_file" ]; then
40 echo "Error: Changelog file '$changelog_file' not found" 40 echo "Error: Changelog file '$changelog_file' not found" 1>&2
41 exit 1 41 exit 1
42fi 42fi
43 43
@@ -60,7 +60,7 @@ done < "$changelog_file"
60 60
61# If the specified version was not found, print an error 61# If the specified version was not found, print an error
62if ! $found_version; then 62if ! $found_version; then
63 echo "Error: Version $version was not found in changelog" 63 echo "Error: Version $version was not found in changelog" 1>&2
64 exit 1 64 exit 1
65fi 65fi
66 66