From 333a10be63f6e9f37bb69e3e46c26b30f0e7cbee Mon Sep 17 00:00:00 2001 From: Jake Arkinstall <65358059+jake-arkinstall@users.noreply.github.com> Date: Thu, 21 May 2026 12:38:04 +0100 Subject: [PATCH 1/3] chore: Update release please to glob all Cargo.lock files and fix selene-sim releases to specific selene-core releases --- pyproject.toml | 2 +- release-please-config.json | 18 ++++-------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e8ecddd1..97b46ca2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ requires-python = ">=3.10" dependencies = [ "numpy>=2.2.6", "pyyaml>=6.0.2", - "selene-core~=0.2.8", + "selene-core~=0.2.9", # x-release-please-version "selene-hugr-qis-compiler~=0.2.6", "tqdm>=4.67.1", ] diff --git a/release-please-config.json b/release-please-config.json index 06303ea3..a9ade80c 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -22,8 +22,9 @@ }, { "type": "toml", - "path": "/Cargo.lock", + "path": "/**/Cargo.lock", "jsonpath": "$.package[?(@.name.value=='selene-core')].version" + "glob": true }, { "type": "toml", @@ -31,19 +32,8 @@ "jsonpath": "$.package[?(@.name.value=='selene-core')].version" }, { - "type": "toml", - "path": "examples/error_model/Cargo.lock", - "jsonpath": "$.package[?(@.name.value=='selene-core')].version" - }, - { - "type": "toml", - "path": "examples/simulator/Cargo.lock", - "jsonpath": "$.package[?(@.name.value=='selene-core')].version" - }, - { - "type": "toml", - "path": "examples/runtime/Cargo.lock", - "jsonpath": "$.package[?(@.name.value=='selene-core')].version" + "type": "generic", + "path": "/pyproject.toml" } ] }, From 590d2d8b2befada2c383b55afe3ce69b73f3b5c0 Mon Sep 17 00:00:00 2001 From: Jake Arkinstall <65358059+jake-arkinstall@users.noreply.github.com> Date: Thu, 21 May 2026 12:48:16 +0100 Subject: [PATCH 2/3] Point release-please to the triggering branch rather than main --- .github/workflows/release-please.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index f6946720..2388ca48 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -18,3 +18,4 @@ jobs: - uses: googleapis/release-please-action@v5 with: token: ${{ secrets.HUGRBOT_PAT }} + target-branch: ${{ github.ref_name }} From 37cea36b3d629c1ae41549e98225416c3014396d Mon Sep 17 00:00:00 2001 From: Jake Arkinstall <65358059+jake-arkinstall@users.noreply.github.com> Date: Thu, 21 May 2026 12:49:44 +0100 Subject: [PATCH 3/3] Fix typo in release-please-config.json --- release-please-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-please-config.json b/release-please-config.json index a9ade80c..a011e8f6 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -23,7 +23,7 @@ { "type": "toml", "path": "/**/Cargo.lock", - "jsonpath": "$.package[?(@.name.value=='selene-core')].version" + "jsonpath": "$.package[?(@.name.value=='selene-core')].version", "glob": true }, {