From 6fc012bdd7cae3acb386800c149d62ee501cd124 Mon Sep 17 00:00:00 2001 From: Matthew Grossman Date: Wed, 28 Oct 2026 15:10:22 -0700 Subject: [PATCH] fix(ci): keep Release Dev publishing when the snap upload or a Go tag breaks it Signed-off-by: Matthew Grossman --- .github/workflows/release-dev.yml | 2 +- pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml index cb489c3ee0..312f5d3539 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/release-dev.yml @@ -290,7 +290,7 @@ jobs: - vm-e2e - build-deb - build-rpm - - publish-snap + - build-snap runs-on: linux-amd64-cpu8 timeout-minutes: 10 permissions: diff --git a/pyproject.toml b/pyproject.toml index 2b97d52eca..273ec4e3ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,6 +68,10 @@ namespaces = false [tool.setuptools.package-data] openshell = ["py.typed", "_proto/*.py", "_proto/*.pyi"] +# Ignore non-release tags such as sdk/go/vX.Y.Z, which share the release commit. +[tool.setuptools_scm] +git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "v[0-9]*"] + [tool.ruff] target-version = "py311" line-length = 88