From 18f8db2225eaf60a6179410d6675420284c89c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6ppner?= Date: Fri, 4 Feb 2022 12:20:20 +0100 Subject: [PATCH] bin/mk-authors: Run only on master branch history MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Höppner --- bin/mk-authors | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mk-authors b/bin/mk-authors index b117a3d4..da627fa7 100755 --- a/bin/mk-authors +++ b/bin/mk-authors @@ -32,7 +32,7 @@ Usage: $cmd [-t LAST_GIT_TAG] Add all new authors since last release to the $authors_file file. Without the -t option the tool uses the last available git tag as last release. -The tool should be called form the s390-tools master branch. +The tool runs on the s390-tools master branch. OPTIONS -t, --tag LAST_GIT_TAG Use git tag LAST_GIT_TAG as starting point @@ -116,7 +116,7 @@ echo "$cmd: Adding new authors since tag: $release_tag_last" # Print authors list without header tail -n +4 $authors_file_path # Add the new authors - git log --format="- %an" $release_tag_last.. + git log --format="- %an" $release_tag_last..master # Then sort everything and remove duplicates } | sort | uniq > $authors_file_tmp # Create new AUTHORS file with header ...