pull-request.sh: Various Updates

* We are on Linux v6.* now
* Add a subject line template
* Fix the $new tag variable

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
Anna Schumaker 2023-07-19 14:56:04 -04:00
parent b2432c671e
commit 03255bc333
1 changed files with 4 additions and 2 deletions

View File

@ -2,10 +2,12 @@
url=git://git.linux-nfs.org/projects/anna/linux-nfs.git
[ -z "$1" ] && tag="v5.*-rc*" || tag="$1"
[ -z "$1" ] && tag="v6.*-rc*" || tag="$1"
old=$(git describe --tags --abbrev=0 --match $tag)
new=$(git describe)
echo "Subject: [GIT PULL] <INSERT SUBJECT HERE>"
echo
echo "Hi Linus,"
echo
git request-pull $old $url HEAD:$new
git request-pull $old $url $new