diff --git a/package/cut-a-release.sh b/package/cut-a-release.sh index dbf2f36..8a8b0a1 100644 --- a/package/cut-a-release.sh +++ b/package/cut-a-release.sh @@ -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 @@ -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