Skip to content

Commit b5fc906

Browse files
committed
Add Slack Announcement
1 parent d5ccbd4 commit b5fc906

File tree

4 files changed

+414
-15744
lines changed

4 files changed

+414
-15744
lines changed

.github/workflows/create-tag.yml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
GIT_AUTHOR_EMAIL: ${{ secrets.BOT_EMAIL }}
3232
GIT_COMMITTER_NAME: themeisle[bot]
3333
GIT_COMMITTER_EMAIL: ${{ secrets.BOT_EMAIL }}
34+
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_ANNOUNCEMENTS }}
35+
SEMANTIC_RELEASE_PACKAGE: Gutenberg Blocks and Template Library by Otter
3436
empty-job:
3537
# if no jobs run, github action considers it a test failure -- which seems like a bug
3638
# this makes it so the top-level if statement for the job does not give status failure.

.releaserc.yml

+8
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ plugins:
1212
- prepareCmd: "replace-in-file \"== Changelog ==\" \"== Changelog ==\n\n${nextRelease.notes}\" readme.txt"
1313
- - "@semantic-release/exec"
1414
- prepareCmd: grunt version::${nextRelease.version} && grunt wp_readme_to_markdown
15+
- - "semantic-release-slack-bot"
16+
- notifyOnSuccess: false
17+
notifyOnFail: false
18+
markdownReleaseNotes: true
19+
branchesConfig:
20+
- pattern: master
21+
notifyOnSuccess: true
22+
notifyOnFail: false
1523
- - "@semantic-release/git"
1624
- assets:
1725
- CHANGELOG.md

0 commit comments

Comments
 (0)