From dd02b18895ec3e9d2fca48a50a075553ec48778e Mon Sep 17 00:00:00 2001 From: Write Int <151211283+WriteNaN@users.noreply.github.com> Date: Wed, 3 Apr 2024 18:25:47 +0530 Subject: [PATCH] Mock #8 --- scripts/version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/version.sh b/scripts/version.sh index 5da697c..48114d8 100644 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -4,8 +4,8 @@ extract_version_and_changes() { local body=$1 local version=$(echo "$body" | grep -oE '^Version:\s*(.+)$' | sed -E 's/^Version:\s*(.+)$/\1/') local changes=$(echo "$body" | sed -n '/# Changes/,$p' | sed '1d') - echo "$version" - echo "$changes" + echo "::set-output name=version::$version" + echo "::set-output name=changes::$changes" } extract_version_and_changes "$1"