Skip to content

Commit

Permalink
CI: add release-bot wiki updater
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jul 10, 2020
1 parent dfb7a9b commit f3e4bc4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Post Release
on:
release:
types: [published]
jobs:
wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: ${{ github.repository }}.wiki
- name: Update Releases
run: |
make
git config user.email "$GIT_AUTHOR_EMAIL"
git config user.name "$GIT_AUTHOR_NAME"
git commit -a -m "update release notes to ${GITHUB_REF#refs/tags/}"
git push
env:
GIT_AUTHOR_NAME: ${{ github.event.sender.login }}
GIT_AUTHOR_EMAIL: ${{ github.event.sender.login }}@users.noreply.github.com
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,13 +355,15 @@ For experienced devs, once happy with local master:
a) add helpful release notes
b) **`[AUTO:TravisCI]`** attach `dist/tqdm-*` binaries
(usually only `*.whl*`)
13. **`[SUB]`** run `make` in the `wiki` submodule to update release notes
13. **`[SUB][AUTO:GHActions]`** run `make` in the `wiki` submodule to update release notes
14. **`[SUB]`** run `make deploy` in the `docs` submodule to update website
15. **`[SUB]`** accept the automated PR in the `feedstock` submodule to update conda
15. **`[SUB][AUTO:GHActions]`** accept the automated PR in the `feedstock` submodule to update conda

Key:

- **`[AUTO:TravisCI]`**: Travis CI should automatically do this after
`git push --tags` (6)
- **`[AUTO:GHActions]`**: GitHub Actions CI should automatically do this after
`git push --tags` (6)
- **`[SUB]`**: Requires one-time `make submodules` to clone
`docs`, `wiki`, and `feedstock`

0 comments on commit f3e4bc4

Please sign in to comment.