Skip to content

Commit 9628a39

Browse files
Merge pull request #460 from nextmv-io/merschformann/slack-notifications
Adds Slack notifications about releases
2 parents 3f22d0c + 536c4eb commit 9628a39

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

+6
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,9 @@ jobs:
111111
--generate-notes \
112112
--title $VERSION $PRERELEASE_FLAG
113113
working-directory: ./sdk
114+
115+
- name: notify slack
116+
if: ${{ inputs.IS_PRE_RELEASE == false }}
117+
run: |
118+
export DATA="{\"text\":\"Release notification - sdk $VERSION (see <https://github.com/nextmv-io/sdk/releases/$VERSION|release notes>)\"}"
119+
curl -X POST -H 'Content-type: application/json' --data "$DATA" ${{ secrets.SLACK_URL_MISSION_CONTROL }}

0 commit comments

Comments
 (0)