mirror of
https://github.com/beetbox/beets.git
synced 2026-02-23 07:44:38 +01:00
Make the release send a toot on Fosstodon (#5302)
This adds a step to the GitHub release so that it sends a toot on Fosstodon, beets' Mastodon account, to publicise that and get some engagement! Not tested, but this is lifted straight from the action repo so it *should* be okay. @snejus for a sanity check if you wouldn't mind
This commit is contained in:
commit
461a1c6f91
1 changed files with 7 additions and 0 deletions
7
.github/workflows/make_release.yaml
vendored
7
.github/workflows/make_release.yaml
vendored
|
|
@ -73,12 +73,19 @@ jobs:
|
|||
name: python-package-distributions
|
||||
path: dist/
|
||||
- name: Create a GitHub release
|
||||
id: make_release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
tag: ${{ steps.tag_version.outputs.new_tag }}
|
||||
name: Release ${{ steps.tag_version.outputs.new_tag }}
|
||||
body: ${{ env.CHANGELOG }}
|
||||
artifacts: dist/*
|
||||
- name: Send release toot to Fosstodon
|
||||
uses: cbrgm/mastodon-github-action@v2
|
||||
with:
|
||||
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
|
||||
url: ${{ secrets.MASTODON_URL }}
|
||||
message: "Version ${{ steps.tag_version.outputs.new_tag }} of beets has been released! Check out all of the new changes at ${{ steps.create_release.outputs.html_url }}"
|
||||
|
||||
publish_to_pypi:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue