Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add Slack notifications when releases and pre-releases are cut #9596

Merged
merged 2 commits into from
Oct 26, 2022

Conversation

thanethomson
Copy link
Contributor

Automatically notify the team when pre-releases and releases are cut.

Pre-release notification rendered

Release notification rendered


PR checklist

  • Tests written/updated, or no tests needed
  • CHANGELOG_PENDING.md updated, or no changelog entry needed
  • Updated relevant documentation (docs/) and code comments, or no
    documentation updates needed

Signed-off-by: Thane Thomson <connect@thanethomson.com>
@thanethomson thanethomson requested a review from a team October 19, 2022 14:46
@@ -8,7 +8,7 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" # e.g. v0.37.0-rc1, v0.38.0-rc10

jobs:
goreleaser:
prerelease:
Copy link
Contributor

@sergio-mena sergio-mena Oct 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this change imply we need to rename as well in lines 24 and 34 below? Or is it just a name collision?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the change here just changes the job ID (like a variable name). The references to goreleaser on the other lines are important to keep as-is because they indicate the details of the GitHub action to execute.

"type": "section",
"text": {
"type": "mrkdwn",
"text": ":sparkles: New Tendermint pre-release: <${{ env.RELEASE_URL }}|${{ github.ref_name }}>"
Copy link
Contributor

@sergio-mena sergio-mena Oct 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add :champagne:?
... just kidding 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually that's a good idea, but it'd be better for the releases (instead of the pre-releases) 😁

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very true :-)

@thanethomson thanethomson added the S:automerge Automatically merge PR when requirements pass label Oct 26, 2022
@mergify mergify bot merged commit 82c29db into main Oct 26, 2022
@mergify mergify bot deleted the thane/ci-notify-upon-release branch October 26, 2022 21:04
@julienrbrt
Copy link
Contributor

We should probably steal that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S:automerge Automatically merge PR when requirements pass
Projects
Status: Done/Merged
Development

Successfully merging this pull request may close these issues.

3 participants