sponsors-maintainers-man-completions: update sponsors too.
This commit is contained in:
parent
bc295f7947
commit
8be9094622
@ -1,9 +1,9 @@
|
||||
name: Update maintainers, manpage and completions
|
||||
name: Update sponsors, maintainers, manpage and completions
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- .github/workflows/maintainers-man-completions.yml
|
||||
- .github/workflows/sponsors-maintainers-man-completions.yml
|
||||
- README.md
|
||||
- Library/Homebrew/cmd/**
|
||||
- Library/Homebrew/dev-cmd/**
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
then
|
||||
BRANCH="$GITHUB_REF_NAME"
|
||||
else
|
||||
BRANCH=maintainers-man-completions
|
||||
BRANCH=sponsors-maintainers-man-completions
|
||||
fi
|
||||
echo "::set-output name=branch::${BRANCH}"
|
||||
|
||||
@ -69,13 +69,21 @@ jobs:
|
||||
git checkout --no-track -B "${BRANCH}" origin/master
|
||||
fi
|
||||
|
||||
if brew sponsors
|
||||
then
|
||||
git add "${GITHUB_WORKSPACE}/README.md"
|
||||
git commit -m "Update sponsors." \
|
||||
-m "Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow."
|
||||
COMMITTED=true
|
||||
fi
|
||||
|
||||
if brew update-maintainers
|
||||
then
|
||||
git add "${GITHUB_WORKSPACE}/README.md" \
|
||||
"${GITHUB_WORKSPACE}/docs/Manpage.md" \
|
||||
"${GITHUB_WORKSPACE}/manpages/brew.1"
|
||||
git commit -m "Update maintainers." \
|
||||
-m "Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/maintainers-man-completions.yml) workflow."
|
||||
-m "Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow."
|
||||
COMMITTED=true
|
||||
fi
|
||||
|
||||
@ -86,7 +94,7 @@ jobs:
|
||||
"${GITHUB_WORKSPACE}/manpages/brew.1" \
|
||||
"${GITHUB_WORKSPACE}/completions"
|
||||
git commit -m "Update manpage and completions." \
|
||||
-m "Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/maintainers-man-completions.yml) workflow."
|
||||
-m "Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow."
|
||||
COMMITTED=true
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user