From 783f00042adcd36b1c835005e4dde7d5fbea70f9 Mon Sep 17 00:00:00 2001 From: farhan Date: Thu, 20 Aug 2026 14:57:13 +0500 Subject: [PATCH] fix: remove changelog config and disable semantic-release changelog Reverts "build: add CHANGELOG.rst and enable semantic-release changelog" (8def36e). Drop automated changelog generation from python-semantic-release while keeping PSR itself for versioning and releases. - Delete `CHANGELOG.rst`. - Remove the `[tool.semantic_release.changelog]` and `[tool.semantic_release.changelog.default_templates]` config from `pyproject.toml`. - Restore `changelog: "false"` on the Run Semantic Release step in `release.yml` so no changelog is generated on release. Uses a `fix:` type so python-semantic-release still cuts a release for this change. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 1 + CHANGELOG.rst | 8 -------- pyproject.toml | 8 -------- 3 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 CHANGELOG.rst diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 261f671..e7fc057 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,7 @@ 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 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.