mirror of https://github.com/Chocobozzz/PeerTube
Fix release script
parent
ebb675b4b9
commit
b73ddc8a57
|
@ -43,7 +43,7 @@ directory_name="peertube-$version"
|
||||||
zip_name="peertube-$version.zip"
|
zip_name="peertube-$version.zip"
|
||||||
tar_name="peertube-$version.tar.xz"
|
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"
|
printf "Changelog will be:\\n\\n%s\\n\\n" "$changelog"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue