diff options
Diffstat (limited to 'scripts/release.sh')
-rwxr-xr-x | scripts/release.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
43 | zip_name="peertube-$version.zip" | 43 | zip_name="peertube-$version.zip" |
44 | tar_name="peertube-$version.tar.xz" | 44 | tar_name="peertube-$version.tar.xz" |
45 | 45 | ||
46 | changelog=$(awk -v version="$version" '/## v/ { printit = $2 == version }; printit;' CHANGELOG.md | grep -v "$version" | sed '1{/^$/d}') | 46 | changelog=$(awk -v version="$version" '/## v/ { printit = $2 == version }; printit;' CHANGELOG.md | grep -v "## $version" | sed '1{/^$/d}') |
47 | 47 | ||
48 | printf "Changelog will be:\\n\\n%s\\n\\n" "$changelog" | 48 | printf "Changelog will be:\\n\\n%s\\n\\n" "$changelog" |
49 | 49 | ||