diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 05e20915b..4ac4b938a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -58,10 +58,6 @@ jobs: - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - - name: Get release body - id: get_release - run: echo ::set-output name=changelog::$(echo "${{ github.event.release.body }}" | sed -n '/# Changelog/,$p') - - name: Slack notification id: slack if: success() @@ -69,13 +65,13 @@ jobs: with: payload: | { - "text": "Kili SDK ${{ github.ref_name }} released!\nGitHub: https://github.com/kili-technology/kili-python-sdk/releases\nPyPI: https://pypi.org/project/kili/\nChangelog: ${{ steps.get_release.outputs.changelog }}", + "text": "Kili SDK ${{ github.ref_name }} released!\nGitHub: https://github.com/kili-technology/kili-python-sdk/releases\nPyPI: https://pypi.org/project/kili/", "blocks": [ { "type": "section", "text": { "type": "mrkdwn", - "text": "Kili SDK ${{ github.ref_name }} released!\nGitHub: https://github.com/kili-technology/kili-python-sdk/releases\nPyPI: https://pypi.org/project/kili/\nChangelog: ${{ steps.get_release.outputs.changelog }}"" + "text": "Kili SDK ${{ github.ref_name }} released!\nGitHub: https://github.com/kili-technology/kili-python-sdk/releases\nPyPI: https://pypi.org/project/kili/" } } ]