Skip to content

Commit

Permalink
Produce release-notes for vXX.YY releases in the release script
Browse files Browse the repository at this point in the history
Release script assumed that all versions followed ‘vXX.YYY’ format
which has been changed to ‘vXX.YY’ with the v19.21 release.  Update
the script to handle the new format as well as supporting patch
levels (even though those have never been used so far).
  • Loading branch information
mina86 committed Feb 26, 2020
1 parent fedd214 commit 4c95362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/cut-a-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ git format-patch -o "$tmp/$pkg/experimental" "$master".."$experimental" >/dev/nu
echo "$version" >$tmp/$pkg/.version

mkdir -- "$tmp/$pkg/release-notes"
for tag in $(g tag | grep -o '^v[1-9][0-9]\.[0-9][0-9][0-9]$'); do
for tag in $(git tag | grep -o '^v[1-9][0-9]\.[0-9][0-9].*'); do
git cat-file tag $tag | sed '1,/^$/d' >$tmp/$pkg/release-notes/$tag.txt
done

Expand Down

0 comments on commit 4c95362

Please sign in to comment.