Skip to content

Commit

Permalink
Merge pull request #460 from nextmv-io/merschformann/slack-notifications
Browse files Browse the repository at this point in the history
Adds Slack notifications about releases
  • Loading branch information
merschformann authored Sep 18, 2024
2 parents 3f22d0c + 536c4eb commit 9628a39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,9 @@ jobs:
--generate-notes \
--title $VERSION $PRERELEASE_FLAG
working-directory: ./sdk

- name: notify slack
if: ${{ inputs.IS_PRE_RELEASE == false }}
run: |
export DATA="{\"text\":\"Release notification - sdk $VERSION (see <https://github.com/nextmv-io/sdk/releases/$VERSION|release notes>)\"}"
curl -X POST -H 'Content-type: application/json' --data "$DATA" ${{ secrets.SLACK_URL_MISSION_CONTROL }}

0 comments on commit 9628a39

Please sign in to comment.