diff options
| author | Marat Radchenko <marat@slonopotamus.org> | 2021-04-27 21:08:37 +0300 |
|---|---|---|
| committer | Marat Radchenko <marat@slonopotamus.org> | 2021-04-27 21:08:37 +0300 |
| commit | e9318379cab0d260f54a43b0b481dabc77bdfb90 (patch) | |
| tree | 66a07c5dd75312a1088965383430d60b4fd46353 /.github | |
| parent | 2c6263f09b5d6e2f8cabbd41f8fe4bfc73f9f163 (diff) | |
resolves #393 post release announcements to Zulip
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a07417..6a85979 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,3 +16,17 @@ jobs: uses: dawidd6/action-publish-gem@v1 with: api_key: ${{ secrets.RUBYGEMS_API_KEY }} + - name: Set release version + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Announcement + uses: yuzutech/zulip-send-message-action@v0.1.0 + with: + username: ${{ secrets.ZULIP_USERNAME }} + api-key: ${{ secrets.ZULIP_API_KEY }} + organization-url: 'https://asciidoctor.zulipchat.com' + to: '279652' + type: 'stream' + topic: 'releases' + content: | + Asciidoctor-EPUB3 ${{ env.RELEASE_VERSION }} is out! + https://github.com/asciidoctor/asciidoctor-epub3/releases/tag/${{ env.RELEASE_VERSION }} |
