Skip to content

Commit

Permalink
git-series-push: only run get_maintainers on version 1
Browse files Browse the repository at this point in the history
After running git series-push for version 1, we should not need to
run get_maintainers in the following iterations as git-publish will save
the all the emails for us.

Signed-off-by: Nuno Sa <[email protected]>
  • Loading branch information
nunojsa committed Apr 27, 2023
1 parent c045e52 commit f431aac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion git-series-push/git-series-push
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ end_series() {
exit 0
}

v1=$(git tag -l | grep -Eo "$(git rev-parse --abbrev-ref HEAD)-v[1-9]+[0-9]?$" || echo "y")
count="1"
lkml="n"
first=""
Expand Down Expand Up @@ -110,7 +111,7 @@ while [ $# -ge 1 ]; do
shift
done

if [[ ${no_linux} == "n" ]]; then
if [[ ${no_linux} == "n" && ${v1} == "y" ]]; then
OPTS="--no-roles --no-rolestats --remove-duplicates --git --git-min-percent=67"
to=$(git show -$count | scripts/get_maintainer.pl $OPTS --no-m --no-r)
cc=$(git show -$count | scripts/get_maintainer.pl $OPTS --no-l)
Expand Down

0 comments on commit f431aac

Please sign in to comment.