From 01923e2f852b7d7b742d7fe872531ae2b5a3c436 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 27 Aug 2025 17:57:08 -0300 Subject: [PATCH 1/2] Simplify release No need to have a workflow that just creates the release -- easier to create the release and tag directly. --- RELEASING.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASING.rst b/RELEASING.rst index 806a82c..cb56c95 100644 --- a/RELEASING.rst +++ b/RELEASING.rst @@ -3,6 +3,7 @@ Release Procedure ================= 1. Open a PR updating the CHANGELOG with the latest fixes. -2. Once the PR is approved and green, push a tag with the version (for example ``1.2.3``). +2. Once the PR is approved and green, `create a new release `__, using a version in the format ``X.Y.Z`` and targetting the release branch above. +3. Merge the PR -- **do not squash**, to preserve the commit with the release tag. -That's it. Now we wait for the conda-forge to pick up the new version, and merge once it is done. +That's it. Now we wait for conda-forge to pick up the new version, or alternatively, `create an issue requesting a bot update `__. From 668e2f9fcb9b9dc928912b41ab08f7834b188be4 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 27 Aug 2025 17:58:10 -0300 Subject: [PATCH 2/2] Delete .github/workflows/release.yml --- .github/workflows/release.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index a8b5fe7..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: release - -on: - push: - tags: - - "[0-9]+.[0-9]+.[0-9]+" - -jobs: - - release: - - runs-on: ubuntu-latest - - steps: - - name: GitHub Release - uses: softprops/action-gh-release@v1