diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2e465d..e7fc057 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,14 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} git_committer_name: "github-actions" git_committer_email: "actions@users.noreply.github.com" + changelog: "false" + + - name: Upload to GitHub Release Assets + uses: python-semantic-release/publish-action@5a5718ce47b892ef699f2972dae122297771d641 # v10.6.1 + if: steps.release.outputs.released == 'true' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ steps.release.outputs.tag }} - name: Upload distribution artifacts uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 diff --git a/CHANGELOG.rst b/CHANGELOG.rst deleted file mode 100644 index 8bd2a9f..0000000 --- a/CHANGELOG.rst +++ /dev/null @@ -1,8 +0,0 @@ -================================ -Change history for xblocks-extra -================================ - -.. This file is auto-managed by python-semantic-release. - Do not edit manually — changes will be overwritten on the next release. - -.. changelog-insertion-marker diff --git a/pyproject.toml b/pyproject.toml index b8b1f9e..ba910e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -207,14 +207,6 @@ local_scheme = "no-local-version" # Semantic Release configuration # https://python-semantic-release.readthedocs.io/ -[tool.semantic_release.changelog] -mode = "update" -insertion_flag = ".. changelog-insertion-marker" - -[tool.semantic_release.changelog.default_templates] -changelog_file = "CHANGELOG.rst" -output_format = "rst" - [tool.semantic_release] # Use SETUPTOOLS_SCM_PRETEND_VERSION to set version at build time since the # build step happens before the repo gets tagged.