Skip to content

Commit

Permalink
Include release note in release archive
Browse files Browse the repository at this point in the history
  • Loading branch information
mina86 committed Aug 4, 2018
1 parent 04e7450 commit cd3fe1f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package/cut-a-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ while [ $# -gt 0 ]; do
shift
done

version=$(date +%g.%-V%u)${patchlevel:+.$patchlevel}
version=$(date +%g.%V%u)${patchlevel:+.$patchlevel}
pkg=urxvt-tabbedex-$version

out=${TMPDIR:-/tmp}/$pkg.tar.bz2
Expand Down Expand Up @@ -76,6 +76,11 @@ 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
git cat-file tag $tag | sed '1,/^$/d' >$tmp/$pkg/release-notes/$tag.txt
done

cd -- "$tmp"
echo
setf 7
Expand Down

0 comments on commit cd3fe1f

Please sign in to comment.