1
0
Fork 0

Fix release script

This commit is contained in:
Chocobozzz 2018-12-03 10:35:50 +01:00
parent ebb675b4b9
commit b73ddc8a57
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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"