fix: resolve release changelog path

This commit is contained in:
Kevin Yue committed 2026-06-22 12:42:47 +08:00
1 parent 6746cf64c3
commit 370189cbee
1 file changed
+3 -1
+3 -1
View File
@@ -10,6 +10,8 @@ if [[ -z "$tag" ]]; then
fi
version="${tag#v}"
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
changelog="$script_dir/../changelog.md"
awk -v version="$version" '
$0 == "## " version {
@@ -27,4 +29,4 @@ awk -v version="$version" '
exit 1
}
}
' changelog.md
' "$changelog"