From 6ac986c7192bbbf94ff3a79e5d84bea803e3bff4 Mon Sep 17 00:00:00 2001 From: Vlada Anicic <115999837+rasa-aadlv@users.noreply.github.com> Date: Thu, 12 Dec 2024 15:23:37 +0100 Subject: [PATCH 1/3] Update publish_gh_release_notes.py --- scripts/publish_gh_release_notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish_gh_release_notes.py b/scripts/publish_gh_release_notes.py index f96d8b084..99d1050b3 100644 --- a/scripts/publish_gh_release_notes.py +++ b/scripts/publish_gh_release_notes.py @@ -81,7 +81,7 @@ def main(): return 1 version = Version(tag_name) - if version.pre: + if version.pre or version.dev: md_body = "_Pre-release version_" else: md_body = parse_changelog(tag_name) From c98926f6e1641e52f4d7938d127596645a673675 Mon Sep 17 00:00:00 2001 From: Vlada Anicic <115999837+rasa-aadlv@users.noreply.github.com> Date: Thu, 12 Dec 2024 15:26:02 +0100 Subject: [PATCH 2/3] Update release-artifacts.yml --- .github/workflows/release-artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index 37aa0094f..a852a5cdc 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -121,7 +121,7 @@ jobs: release-artifact-slack-notifications: name: Release Analytics Artifact Slack Notifications runs-on: ubuntu-24.04 - needs: [define-release-version, release-artifacts-docker, release-artifacts-pypi] + needs: [define-release-version, release-artifacts-docker, release-artifacts-pypi, release-atifacts-publish-release] if: always() # Ensures this job runs regardless of the result of previous jobs From 9365cdbffa60747404a82062e4b2cb9847491a08 Mon Sep 17 00:00:00 2001 From: Vlada Anicic <115999837+rasa-aadlv@users.noreply.github.com> Date: Thu, 12 Dec 2024 15:27:44 +0100 Subject: [PATCH 3/3] Comment slack on faluire --- .github/workflows/release-artifacts.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index a852a5cdc..73ed943ba 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -136,12 +136,12 @@ jobs: env: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} - - name: Notify Slack of unsuccessful release ⛔️ - if: ${{ needs.build_docker_image.result != 'success' || needs.deploy.result != 'success' }} - uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 #v 1.25.0 - with: - # Send notification to #devtribe slack channel - channel-id: "C061J0LGHU0" - slack-message: ":broken_heart: *Rasa SDK* release version `${{ needs.define-release-version.outputs.version }}` has failed! More information can be found ." - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} + # - name: Notify Slack of unsuccessful release ⛔️ + # if: ${{ needs.build_docker_image.result != 'success' || needs.deploy.result != 'success' }} + # uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 #v 1.25.0 + # with: + # # Send notification to #devtribe slack channel + # channel-id: "C061J0LGHU0" + # slack-message: ":broken_heart: *Rasa SDK* release version `${{ needs.define-release-version.outputs.version }}` has failed! More information can be found ." + # env: + # SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}