Skip to content

Commit

Permalink
chore: Toot out releases
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Mar 28, 2023
1 parent 37eb491 commit 00aabfa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,17 @@ jobs:
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}
TWITTER_ACCESS_TOKEN_KEY: ${{ secrets.TWITTER_ACCESS_TOKEN_KEY }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

# Toots out JS release announcement
- run: 'npx @humanwhocodes/toot "Momoa (JS) v${{ steps.release.outputs[''js--major''] }}.${{ steps.release.outputs[''js--minor''] }}.${{ steps.release.outputs[''js--patch''] }} has been released!\n\nhttps://github.com/humanwhocodes/momoa/releases/tag/v${{ steps.release.outputs[''js--tag_name''] }}"'
if: ${{ steps.release.outputs['js--release_created'] }}
env:
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
MASTODON_HOST: ${{ secrets.MASTODON_HOST }}

# Toots out Rust release announcement
- run: 'npx @humanwhocodes/toot "Momoa (Rust) v${{ steps.release.outputs[''rust--major''] }}.${{ steps.release.outputs[''rust--minor''] }}.${{ steps.release.outputs[''rust--patch''] }} has been released!\n\nhttps://github.com/humanwhocodes/momoa/releases/tag/v${{ steps.release.outputs[''rust--tag_name''] }}"'
if: ${{ steps.release.outputs['rust--release_created'] }}
env:
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
MASTODON_HOST: ${{ secrets.MASTODON_HOST }}

0 comments on commit 00aabfa

Please sign in to comment.