From b73ddc8a576531ae1398f3a2ad30c201290dcb12 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 3 Dec 2018 10:35:50 +0100 Subject: Fix release script --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index 134f2d288..08061fe6f 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -43,7 +43,7 @@ directory_name="peertube-$version" zip_name="peertube-$version.zip" tar_name="peertube-$version.tar.xz" -changelog=$(awk -v version="$version" '/## v/ { printit = $2 == version }; printit;' CHANGELOG.md | grep -v "$version" | sed '1{/^$/d}') +changelog=$(awk -v version="$version" '/## v/ { printit = $2 == version }; printit;' CHANGELOG.md | grep -v "## $version" | sed '1{/^$/d}') printf "Changelog will be:\\n\\n%s\\n\\n" "$changelog" -- cgit v1.2.3