From d3b3d01ff3bfeb35d144cce32c05346f99e4235e Mon Sep 17 00:00:00 2001 From: farhan Date: Thu, 20 Aug 2026 19:23:04 +0500 Subject: [PATCH 1/2] Revert "fix: add CHANGELOG.rst and enable semantic-release changelog (#70)" This reverts commit b183eff302bb7848fbd2fe3af66b755df6af1d88. --- .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 c2e465d..6ba2fb5 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 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. From 72b7d65ec27da885cc28425793689976e6732806 Mon Sep 17 00:00:00 2001 From: farhan Date: Thu, 20 Aug 2026 19:27:46 +0500 Subject: [PATCH 2/2] fix: restore Upload to GitHub Release Assets step in release.yml Re-add the python-semantic-release publish-action "Upload to GitHub Release Assets" step that was removed in 3a9f71e, aligning with the client-recommended sample-plugin release.yml whose release flow is confirmed working. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ba2fb5..e7fc057 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,13 @@ jobs: 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 if: steps.release.outputs.released == 'true'