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

Improve release automation slack comment when the release is validated #214

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2.1

orbs:
slack: circleci/slack@4.12.1

workflows:
version: 2
default:
Expand All @@ -14,6 +17,14 @@ workflows:
- macos-job:
name: CocoaPods
cocoapods: true
notify_release:
jobs:
- notify_release:
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/

jobs:
macos-job:
Expand Down Expand Up @@ -79,3 +90,22 @@ jobs:
- run:
name: Verify LICENSE.md is up-to-date
command: ./scripts/release/check-license.sh
notify_release:
machine:
image: ubuntu-2004:202010-01
steps:
- slack/notify:
channel: sdk-releases
event: pass
custom: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Common SDK <https://github.com/mapbox/mapbox-sdk-common/releases/tag/$CIRCLE_TAG | $CIRCLE_TAG> has been released. cc @gl-native-team @maps-android @maps-ios"
}
}
]
}
2 changes: 2 additions & 0 deletions Tests/Integration/CocoaPods/Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
source 'https://rubygems.org'
gem 'cocoapods'
# activesupport-7.1.0 causes the following error: https://app.circleci.com/pipelines/github/mapbox/mapbox-common-ios/698/workflows/41765281-efa2-44f7-ae02-dfeb308224f4/jobs/1891
gem 'activesupport', '7.0.8'