diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-03 10:35:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-03 10:35:50 +0100 |
commit | b73ddc8a576531ae1398f3a2ad30c201290dcb12 (patch) | |
tree | b3722e0c2418f7e5d7240ba9aa58766219d05e88 /scripts/release.sh | |
parent | ebb675b4b91217186c8e2fca4edb522a4ffe69ee (diff) | |
download | PeerTube-b73ddc8a576531ae1398f3a2ad30c201290dcb12.tar.gz PeerTube-b73ddc8a576531ae1398f3a2ad30c201290dcb12.tar.zst PeerTube-b73ddc8a576531ae1398f3a2ad30c201290dcb12.zip |
Fix release script
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 | ||